blob: f9ae734623801c64b269c145c9c16e1a728ec516 [file] [log] [blame]
Tests asynchronous call stacks for window.postMessage.
Set timer for test function.
Captured call stacks in no particular order:
Call stack:
0) onMessageReceivedInFrame (post-message-listener.html:7)
[postMessage]
0) postMessageToFrame (async-callstack-post-message.js:42)
1) onMessageReceivedInParent (async-callstack-post-message.js:30)
[postMessage]
0) postMessageToParent (post-message-listener.html:13)
1) onMessageReceivedInFrame (post-message-listener.html:8)
[postMessage]
0) postMessageToFrame (async-callstack-post-message.js:42)
1) timeout (async-callstack-post-message.js:23)
[setTimeout]
0) testFunction (async-callstack-post-message.js:16)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) onMessageReceivedInFrame (post-message-listener.html:7)
[postMessage]
0) postMessageToFrame (async-callstack-post-message.js:42)
1) timeout (async-callstack-post-message.js:23)
[setTimeout]
0) testFunction (async-callstack-post-message.js:16)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) onMessageReceivedInParent (async-callstack-post-message.js:28)
[postMessage]
0) postMessageToParent (post-message-listener.html:13)
1) onMessageReceivedInFrame (post-message-listener.html:8)
[postMessage]
0) postMessageToFrame (async-callstack-post-message.js:42)
1) onMessageReceivedInParent (async-callstack-post-message.js:30)
[postMessage]
0) postMessageToParent (post-message-listener.html:13)
1) onMessageReceivedInFrame (post-message-listener.html:8)
[postMessage]
0) postMessageToFrame (async-callstack-post-message.js:42)
1) timeout (async-callstack-post-message.js:23)
[setTimeout]
0) testFunction (async-callstack-post-message.js:16)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) onMessageReceivedInParent (async-callstack-post-message.js:28)
[postMessage]
0) postMessageToParent (post-message-listener.html:13)
1) onMessageReceivedInFrame (post-message-listener.html:8)
[postMessage]
0) postMessageToFrame (async-callstack-post-message.js:42)
1) timeout (async-callstack-post-message.js:23)
[setTimeout]
0) testFunction (async-callstack-post-message.js:16)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Call stack:
0) onMessageReceivedInParent (async-callstack-post-message.js:28)
[postMessage]
0) postMessageToSelf (async-callstack-post-message.js:35)
1) timeout (async-callstack-post-message.js:22)
[setTimeout]
0) testFunction (async-callstack-post-message.js:16)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>