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

Unified Diff: LayoutTests/http/tests/security/no-popup-from-sandbox-top.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/no-popup-from-sandbox-top.html
diff --git a/LayoutTests/http/tests/security/no-popup-from-sandbox-top.html b/LayoutTests/http/tests/security/no-popup-from-sandbox-top.html
index 925d5ffb0908427fb31a107ce2bb637981a3b6c0..78180b4b6cba3c474a831a4431be97ea26809080 100644
--- a/LayoutTests/http/tests/security/no-popup-from-sandbox-top.html
+++ b/LayoutTests/http/tests/security/no-popup-from-sandbox-top.html
@@ -9,6 +9,6 @@ if (window.testRunner) {
src="data:text/html,
<script>
var win = window.open('about:blank', '_top');
- alert(win ? 'FAIL' : 'PASS');
+ console.log(win ? 'FAIL' : 'PASS');
</script>"
></iframe>

Powered by Google App Engine
This is Rietveld 408576698