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

Unified Diff: LayoutTests/http/tests/security/popup-allowed-by-sandbox-is-sandboxed-control.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/popup-allowed-by-sandbox-is-sandboxed-control.html
diff --git a/LayoutTests/http/tests/security/popup-allowed-by-sandbox-is-sandboxed-control.html b/LayoutTests/http/tests/security/popup-allowed-by-sandbox-is-sandboxed-control.html
index fe173d6cca6acbff24509d79adac7f888d7fb687..406e2b6d9860689a6699dd0dda630bf43ba59831 100644
--- a/LayoutTests/http/tests/security/popup-allowed-by-sandbox-is-sandboxed-control.html
+++ b/LayoutTests/http/tests/security/popup-allowed-by-sandbox-is-sandboxed-control.html
@@ -11,6 +11,6 @@ if (window.testRunner) {
<iframe sandbox="allow-scripts allow-popups allow-forms"
src="data:text/html,
<script>
- var win = window.open('data:text/html,<form action=javascript:alert(/PASS/) ><input type=submit></form><script>document.forms[0].submit(); if (window.testRunner) testRunner.notifyDone();<\/script>', '_blank');
+ var win = window.open('data:text/html,<form action=javascript:console.log(/PASS/) ><input type=submit></form><script>document.forms[0].submit(); if (window.testRunner) testRunner.notifyDone();<\/script>', '_blank');
</script>"
></iframe>

Powered by Google App Engine
This is Rietveld 408576698