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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <script> 1 <script>
2 if (window.testRunner) 2 if (window.testRunner)
3 testRunner.dumpAsText(); 3 testRunner.dumpAsText();
4 </script> 4 </script>
5 <meta http-equiv="Content-Security-Policy" content="sandbox allow-scripts"> 5 <meta http-equiv="Content-Security-Policy" content="sandbox allow-scripts">
6 This test passes if it does alert pass. 6 This test passes if it does alert pass.
7 <iframe src="data:text/html,<script>alert('PASS');</script>"></iframe> 7 <iframe src="data:text/html,<script>console.log('PASS');</script>"></iframe>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698