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

Unified Diff: LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-accessor-opened-frame.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-accessor-opened-frame.html
diff --git a/LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-accessor-opened-frame.html b/LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-accessor-opened-frame.html
index 821a84b361baf06970b8394434e79f6e47977b91..a5a1fd3678f8f56dcf2a5a0d0fda363b979fbb7d 100644
--- a/LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-accessor-opened-frame.html
+++ b/LayoutTests/http/tests/security/dataURL/resources/foreign-domain-data-url-accessor-opened-frame.html
@@ -14,8 +14,7 @@
+ "} catch (e) {"
+ "alert('PASS: Exception thrown successfully.');"
+ "}"
- + "if (window.testRunner)"
- + "testRunner.globalFlag = true;"
+ + "window.parent.opener.postMessage('done', '*');"
+ "}"
+ "</scri" + "pt>"
+ "</head>"

Powered by Google App Engine
This is Rietveld 408576698