| Index: trunk/LayoutTests/fast/dom/Window/post-message-to-self.html
|
| ===================================================================
|
| --- trunk/LayoutTests/fast/dom/Window/post-message-to-self.html (revision 197008)
|
| +++ trunk/LayoutTests/fast/dom/Window/post-message-to-self.html (working copy)
|
| @@ -1,31 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../../resources/js-test.js"></script>
|
| -</head>
|
| -<body>
|
| -<script>
|
| -description("Test that window.postMessage() to self is not leaking.");
|
| -
|
| -window.jsTestIsAsync = true;
|
| -
|
| -if (window.testRunner) {
|
| - testRunner.dumpAsText();
|
| - testRunner.waitUntilDone();
|
| -}
|
| -
|
| -function postMessageToSelf() {
|
| - setInterval(function() {
|
| - window.postMessage("msg", "*");
|
| - }, 1);
|
| -}
|
| -
|
| -function receiveMessage(event) {
|
| - testPassed("Received message " + event.data);
|
| - finishJSTest();
|
| -}
|
| -
|
| -window.addEventListener("message", receiveMessage, false);
|
| -postMessageToSelf();
|
| -</script>
|
| -</body>
|
| -</html
|
|
|