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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts.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.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts.html b/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts.html
index c148d2fc23d9720d4ef9193423b3db4a0402425e..3fcc136964bed4353a521a37c2449bc7a47111db 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts.html
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts.html
@@ -5,5 +5,5 @@ if (window.testRunner)
<meta http-equiv="Content-Security-Policy" content="sandbox allow-scripts">
This test passes if it does alert pass.
<script>
-alert('PASS');
+console.log('PASS');
</script>

Powered by Google App Engine
This is Rietveld 408576698