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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-allowed.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-allowed.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-allowed.html b/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-allowed.html
index 73ccb4821482cde9624611846783df149a02aa71..5487a4c1720eed01d86b9a1ee34de70d0de4d509 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-allowed.html
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-allowed.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