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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/resources/wait-until-loaded.js

Issue 221673003: Defer iframe JavaScript URL evaluation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/contentSecurityPolicy/resources/wait-until-loaded.js
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/wait-until-loaded.js b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/wait-until-loaded.js
new file mode 100644
index 0000000000000000000000000000000000000000..cd80fed4ef1f635e7810e14aa59ea1d74b5bbb5c
--- /dev/null
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/wait-until-loaded.js
@@ -0,0 +1,7 @@
+if (window.testRunner) {
+ testRunner.waitUntilDone();
+ window.onload = function() {
+ testRunner.notifyDone();
+ };
+}
+

Powered by Google App Engine
This is Rietveld 408576698