You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Demo name | Description | Repo directory | Live demo page |
@@ -40,19 +40,19 @@ last sync'd Feb. 2, 2023
40
40
| CSS Examples | Used for [Get started viewing and changing CSS](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/css/). |[/devtools-css-get-started/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-css-get-started)|[CSS Examples](https://microsoftedge.github.io/Demos/devtools-css-get-started/)|
41
41
| DOM Examples | Used for [Get started viewing and changing the DOM](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/dom/). |[/devtools-dom-get-started/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-dom-get-started)|[DOM Examples](https://microsoftedge.github.io/Demos/devtools-dom-get-started/)|
42
42
| Explain Console errors and warnings in Copilot in Edge | Generates errors in the Console that can then be explained by using Copilot in Edge. |[/devtools-explain-error/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-explain-error)|[Explaining console errors demo](https://microsoftedge.github.io/Demos/devtools-explain-error/)|
43
-
| Inspect tool demo | Used for [Analyze pages using the Inspect tool](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/css/inspect). |[/devtools-inspect/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-inspect)|[Inspect Demo](https://microsoftedge.github.io/Demos/devtools-inspect/)|
43
+
| Inspect tool | Used for [Analyze pages using the Inspect tool](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/css/inspect). |[/devtools-inspect/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-inspect)|[Inspect Demo](https://microsoftedge.github.io/Demos/devtools-inspect/)|
44
44
| Debugging JavaScript that adds two numbers | Used for [Get started debugging JavaScript](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/javascript/). |[/devtools-js-get-started/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-js-get-started)|[Demo: Debugging JavaScript with Microsoft Edge DevTools](https://microsoftedge.github.io/Demos/devtools-js-get-started/)|
45
45
| Memory heap snapshot | Used for [Record heap snapshots using the Memory tool](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/memory-problems/heap-snapshots). |[/devtools-memory-heap-snapshot/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-memory-heap-snapshot)| n/a |
46
46
| Performance Activity Tabs | Used for [View activities in a table](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/evaluate-performance/reference#view-activities-in-a-table), about the **Performance** tool's **Bottom-Up**, **Call Tree**, and **Event Log** tabs. |[/devtools-performance-activitytabs/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-performance-activitytabs)|[Activity Tabs Demo](https://microsoftedge.github.io/Demos/devtools-performance-activitytabs/)|
47
47
| Sluggish Animation | Used for [Introduction to the Performance tool](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/evaluate-performance/). |[/devtools-performance-get-started/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-performance-get-started)|[Sluggish Animation](https://microsoftedge.github.io/Demos/devtools-performance-get-started/)|
48
-
|PostMessage Trace Events demo | Tests `postMessage` trace events in the **Performance** tool. Used for [View activities in a table](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/evaluate-performance/reference#view-activities-in-a-table) in _Performance features reference_. |[/devtools-postmessage-perf-timeline/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-postmessage-perf-timeline)|[PostMessage Trace Events demo](https://microsoftedge.github.io/Demos/devtools-postmessage-perf-timeline/)|
48
+
|postMessage Trace Events | Tests `postMessage` trace events in the **Performance** tool. Used for [View messages between windows, iframes, and dedicated workers](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/evaluate-performance/reference#view-messages-between-windows-iframes-and-dedicated-workers) in _Performance features reference_. |[/devtools-postmessage-perf-timeline/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-postmessage-perf-timeline)|[postMessage Trace Events demo](https://microsoftedge.github.io/Demos/devtools-postmessage-perf-timeline/)|
49
49
| CSS :target pseudo-class | Used for [Support forcing the :target CSS state](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/whats-new/2021/01/devtools#support-forcing-the-target-css-state). |[/devtools-target-pseudo/](https://github.com/MicrosoftEdge/Demos/tree/main/devtools-target-pseudo)|[CSS :target pseudo-class demo](https://microsoftedge.github.io/Demos/devtools-target-pseudo/)|
50
50
| Heap Snapshot Visualizer | Source code for the [Heap Snapshot Visualizer](https://microsoftedge.microsoft.com/addons/detail/heap-snapshot-visualizer/fceldlhognbemkgfacnffkdanocidgce) extension for DevTools. |[/heap-snapshot-visualizer/](https://github.com/MicrosoftEdge/Demos/tree/main/heap-snapshot-visualizer)| n/a |
51
51
| JSON dummy data | Simple JSON files. Used for [View formatted JSON](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/json-viewer/json-viewer). |[/json-dummy-data/](https://github.com/MicrosoftEdge/Demos/tree/main/json-dummy-data)|[JSON dummy data](https://microsoftedge.github.io/Demos/json-dummy-data/)|
52
52
| Inspect Network Activity | Used for [Inspect network activity](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/network/). |[/network-tutorial/](https://github.com/MicrosoftEdge/Demos/tree/main/network-tutorial)|[Inspect Network Activity Demo](https://microsoftedge.github.io/Demos/network-tutorial/)|
53
-
| Photo gallery demo | Used for [The truth about CSS selector performance](https://blogs.windows.com/msedgedev/2023/01/17/the-truth-about-css-selector-performance/). |[/photo-gallery/](https://github.com/MicrosoftEdge/Demos/tree/main/photo-gallery)|[Photo Gallery](https://microsoftedge.github.io/Demos/photo-gallery/)|
54
-
| Slow calendar demo | Simple calendar demo app to test DevTools features such as the **Performance** tool and source map support. |[/slow-calendar/](https://github.com/MicrosoftEdge/Demos/tree/main/slow-calendar)|[Slow calendar demo](https://microsoftedge.github.io/Demos/slow-calendar/public/)|
55
-
| Workspaces demo | Used for [Edit files with Workspaces (Filesystem tab)](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/workspaces), in the **Sources** tool. |[/workspaces/](https://github.com/MicrosoftEdge/Demos/tree/main/workspaces)|[DevTools Workspaces Demo](https://microsoftedge.github.io/Demos/workspaces/)|
53
+
| Photo gallery | Used for [The truth about CSS selector performance](https://blogs.windows.com/msedgedev/2023/01/17/the-truth-about-css-selector-performance/). |[/photo-gallery/](https://github.com/MicrosoftEdge/Demos/tree/main/photo-gallery)|[Photo Gallery](https://microsoftedge.github.io/Demos/photo-gallery/)|
54
+
| Slow Calendar | Simple calendar demo app to test DevTools features such as the **Performance** tool and source map support. |[/slow-calendar/](https://github.com/MicrosoftEdge/Demos/tree/main/slow-calendar)|[Slow Calendar](https://microsoftedge.github.io/Demos/slow-calendar/public/)|
55
+
| Workspaces | Used for [Edit files with Workspaces (Filesystem tab)](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/workspaces), in the **Sources** tool. |[/workspaces/](https://github.com/MicrosoftEdge/Demos/tree/main/workspaces)|[DevTools Workspaces Demo](https://microsoftedge.github.io/Demos/workspaces/)|
# DevTools performance features reference - PostMessage Trace Events
1
+
# postMessage Trace Events
2
2
3
3
➡️ **[Open the demo](https://microsoftedge.github.io/Demos/devtools-postmessage-perf-timeline/)** ⬅️
4
4
5
-
This is the source code for the demo page used in the Microsoft Edge DevTools docs: [Performance features reference > PostMessage Trace](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/evaluate-performance/reference#view-activities-in-a-table).
6
-
7
-
<!-- TODO: Update link once it's ready -->
5
+
This demo tests `postMessage` trace events in the **Performance** tool. Used by [View messages between windows, iframes, and dedicated workers](https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/evaluate-performance/reference#view-messages-between-windows-iframes-and-dedicated-workers) in _Performance features reference_.
<p>This page provides an interface to send messages between the main frame and an embedded iframe.
16
-
<p>This is part of a tutorial showing an affordance in the timeline of a performance trace which allows
17
-
developers easily investigate when postmessage calls occur, how long the message queued for before
18
-
the postmessage handler starts.
14
+
<h1>postMessage Trace Events demo</h1>
15
+
<p>
16
+
This demo page provides an interface to send messages between the main frame and an embedded iframe.
19
17
</p>
20
-
<b>Main Frame: </b>
18
+
<p>
19
+
This is part of a tutorial that demonstrates a feature in the timeline of a performance trace that allows
20
+
you to easily investigate when a <code>postMessage</code> call occurred,
21
+
and how long the message was queued before the <code>postMessage</code> handler started.
22
+
</p>
23
+
Used by <ahref="https://learn.microsoft.com/microsoft-edge/devtools-guide-chromium/evaluate-performance/reference#view-messages-between-windows-iframes-and-dedicated-workers">View messages between windows, iframes, and dedicated workers</a> in <em>Performance features reference</em>.
24
+
</p>
25
+
<b>Main frame:</b>
21
26
<buttonstyle="display: block; margin-top: 1.5em ;">Send message to iframe</button>
0 commit comments