Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Unified Diff: trunk/LayoutTests/fast/dom/Window/post-message-to-self.html

Issue 1176113004: Revert 196930 "Window.postMessage() to self can cause document l..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | trunk/LayoutTests/fast/dom/Window/post-message-to-self-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | trunk/LayoutTests/fast/dom/Window/post-message-to-self-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698