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

Unified Diff: LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-window-location.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/dataURL/resources/foreign-domain-data-url-window-location.html
diff --git a/LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-window-location.html b/LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-window-location.html
index d038aa86d8c48c5661b2aa91b2b57919917d40f9..7138489c26ed57143679e0beb4737fc7ae2ea55b 100644
--- a/LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-window-location.html
+++ b/LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-window-location.html
@@ -6,8 +6,7 @@
+ "<head>"
+ "<scr" + "ipt>"
+ "function loaded() {"
- + "if (window.testRunner)"
- + "testRunner.globalFlag = true;"
+ + "window.parent.postMessage('run test', '*');"
+ "}"
+ "</scri" + "pt>"
+ "</head>"

Powered by Google App Engine
This is Rietveld 408576698