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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-subframe.html

Issue 1126253007: Block modal dialogs inside sandboxes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WebSandboxFlags. Created 5 years, 7 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/sandbox-allow-scripts-subframe.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-subframe.html b/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-subframe.html
index 6bbac6d9ac5de7003166e0f1556c4be7f4efacba..b4e3605dc099994e5aa007cc9a19159bab0e98ea 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-subframe.html
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-subframe.html
@@ -4,4 +4,4 @@ if (window.testRunner)
</script>
<meta http-equiv="Content-Security-Policy" content="sandbox allow-scripts">
This test passes if it does alert pass.
-<iframe src="data:text/html,<script>alert('PASS');</script>"></iframe>
+<iframe src="data:text/html,<script>console.log('PASS');</script>"></iframe>

Powered by Google App Engine
This is Rietveld 408576698