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

Unified Diff: LayoutTests/http/tests/security/resources/cross-frame-iframe-for-location-get-override-test.html

Issue 494343003: Eliminate globalFlag usage from http security layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: consistify Created 6 years, 4 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
Index: LayoutTests/http/tests/security/resources/cross-frame-iframe-for-location-get-override-test.html
diff --git a/LayoutTests/http/tests/security/resources/cross-frame-iframe-for-location-get-override-test.html b/LayoutTests/http/tests/security/resources/cross-frame-iframe-for-location-get-override-test.html
index 9cda887cfc831a8f51194ccd658209ae48b014ba..e513981f7423b7361b357eefbde7b5a1c953d00b 100644
--- a/LayoutTests/http/tests/security/resources/cross-frame-iframe-for-location-get-override-test.html
+++ b/LayoutTests/http/tests/security/resources/cross-frame-iframe-for-location-get-override-test.html
@@ -7,8 +7,7 @@
window.onload = function()
{
- if (window.testRunner)
- testRunner.globalFlag = true;
+ window.parent.postMessage('ready', '*');
}
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698