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

Unified Diff: LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.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
« no previous file with comments | « LayoutTests/fast/dom/Window/Location/window-shadow-location-using-js-object-with-toString.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.html
diff --git a/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.html b/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.html
index 0112294de2bfa018f016159384a25b00ece1cba7..6227c8218752695d72cffbdc797c788f3bf55976 100644
--- a/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.html
+++ b/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.html
@@ -9,7 +9,7 @@
testRunner.waitUntilDone();
var result;
- function frameLoaded()
+ window.onmessage = function()
{
result = normalizeURL(String(window.frames[0].location));
shouldBe("result", "'pass.html'");
@@ -17,6 +17,6 @@
testRunner.notifyDone();
}
</script>
-<iframe onload="frameLoaded()" src="resources/window-shadow-location-using-string-iframe.html"></iframe>
+<iframe src="resources/window-shadow-location-using-string-iframe.html"></iframe>
</body>
</html>
« no previous file with comments | « LayoutTests/fast/dom/Window/Location/window-shadow-location-using-js-object-with-toString.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698