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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-blocked.html

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/javascript-url-blocked.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-blocked.html b/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-blocked.html
index 79e5e515afa956d0823a3b738effc779d7de0e61..4084fe93f90a01575b11d0164e2ac17b8fad2641 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-blocked.html
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-blocked.html
@@ -2,8 +2,13 @@
<html>
<head>
<script>
-if (window.testRunner)
+if (window.testRunner) {
testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+ window.onload = function() {
+ testRunner.notifyDone();
+ };
+}
</script>
</head>
<body>

Powered by Google App Engine
This is Rietveld 408576698