| Index: LayoutTests/inspector/sources/debugger/async-callstack-post-message.html
|
| diff --git a/LayoutTests/inspector/sources/debugger/async-callstack-post-message.html b/LayoutTests/inspector/sources/debugger/async-callstack-post-message.html
|
| deleted file mode 100644
|
| index bc253548cea6ffaf85b9a685ce1327ae02bbfacb..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/sources/debugger/async-callstack-post-message.html
|
| +++ /dev/null
|
| @@ -1,56 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../../http/tests/inspector/debugger-test.js"></script>
|
| -<script>
|
| -
|
| -function testFunction()
|
| -{
|
| - setTimeout(timeout, 0);
|
| -}
|
| -
|
| -function timeout()
|
| -{
|
| - window.addEventListener("message", onMessageReceivedInParent, false);
|
| - postMessageToSelf();
|
| - postMessageToFrame("start");
|
| -}
|
| -
|
| -function onMessageReceivedInParent(e)
|
| -{
|
| - debugger;
|
| - if (/data="start"/.test(e.data || ""))
|
| - postMessageToFrame("done");
|
| -}
|
| -
|
| -function postMessageToSelf()
|
| -{
|
| - window.postMessage("message to myself", "*");
|
| -}
|
| -
|
| -function postMessageToFrame(msg)
|
| -{
|
| - var iframe = document.getElementById("iframe");
|
| - var win = iframe.contentWindow;
|
| - win.postMessage(msg, "*");
|
| -}
|
| -
|
| -var test = function()
|
| -{
|
| - var totalDebuggerStatements = 5;
|
| - var maxAsyncCallStackDepth = 4;
|
| - InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallStackDepth);
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -
|
| -<body onload="runTest()">
|
| -<p>
|
| -Tests asynchronous call stacks for window.postMessage.
|
| -</p>
|
| -<div><iframe src="resources/post-message-listener.html"
|
| - id="iframe" width="800" height="100" style="border: 1px solid black;">
|
| -</iframe></div>
|
| -</body>
|
| -</html>
|
|
|