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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url.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/inline-script-blocked-javascript-url.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url.html b/LayoutTests/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url.html
index 41b656d45893df2e09e9651712a906aefaf6b7ab..7f995f05da57e5915a44319cae3a9f22012552de 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url.html
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url.html
@@ -3,6 +3,7 @@
<head>
<meta http-equiv="Content-Security-Policy" content="script-src http://127.0.0.1:*; options goofy">
<script src="resources/dump-as-text.js"></script>
+<script src="resources/wait-until-loaded.js"></script>
</head>
This test passes if it doesn't alert fail.
<iframe src="javascript:alert('FAIL')"></iframe>

Powered by Google App Engine
This is Rietveld 408576698