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

Unified Diff: LayoutTests/http/tests/security/no-popup-from-sandbox-top-expected.txt

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-expected.txt
diff --git a/LayoutTests/http/tests/security/no-popup-from-sandbox-top-expected.txt b/LayoutTests/http/tests/security/no-popup-from-sandbox-top-expected.txt
index 00d6b9fd0864543a52eaa7806ccd42bac2aa9b15..81ff05377e051cced023edbf97f12a1890b26671 100644
--- a/LayoutTests/http/tests/security/no-popup-from-sandbox-top-expected.txt
+++ b/LayoutTests/http/tests/security/no-popup-from-sandbox-top-expected.txt
@@ -1,6 +1,6 @@
-CONSOLE ERROR: Unsafe JavaScript attempt to initiate navigation for frame with URL 'http://127.0.0.1:8000/security/no-popup-from-sandbox-top.html' from frame with URL 'data:text/html, <script> var win = window.open('about:blank', '_top'); alert(win ? 'FAIL' : 'PASS'); </script>'. The frame attempting navigation of the top-level window is sandboxed, but the 'allow-top-navigation' flag is not set.
+CONSOLE ERROR: Unsafe JavaScript attempt to initiate navigation for frame with URL 'http://127.0.0.1:8000/security/no-popup-from-sandbox-top.html' from frame with URL 'data:text/html, <script> var win = window.open('about:blank', '_top'); console.log(win ? 'FAIL' : 'PASS'); </script>'. The frame attempting navigation of the top-level window is sandboxed, but the 'allow-top-navigation' flag is not set.
-ALERT: PASS
+CONSOLE MESSAGE: line 1: PASS
To run this test outside of DumpRenderTree, please disable your popup blocker!

Powered by Google App Engine
This is Rietveld 408576698