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

Unified Diff: LayoutTests/fast/dom/Window/Location/resources/pass.html

Issue 713453003: De-flake window.location shadowing layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
Index: LayoutTests/fast/dom/Window/Location/resources/pass.html
diff --git a/LayoutTests/fast/dom/Window/Location/resources/pass.html b/LayoutTests/fast/dom/Window/Location/resources/pass.html
index ebf25c2af5dee18f13c060f6f92faf93181f1f17..423cd2faccff7b91b488d2bdba06b699dfa36a32 100644
--- a/LayoutTests/fast/dom/Window/Location/resources/pass.html
+++ b/LayoutTests/fast/dom/Window/Location/resources/pass.html
@@ -1,5 +1,12 @@
<html>
-<body>
+<head>
+<script>
+function finishTest() {
+ window.parent.postMessage("done", "*");
+}
+</script>
+</head>
+<body onload="finishTest()">
<pre>
PASS
</pre>

Powered by Google App Engine
This is Rietveld 408576698