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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 CONSOLE ERROR: Unsafe JavaScript attempt to initiate navigation for frame with U RL 'http://127.0.0.1:8000/security/no-popup-from-sandbox-top.html' from frame wi th URL 'data:text/html, <script> var win = window.open('about:blank' , '_top'); alert(win ? 'FAIL' : 'PASS'); </script>'. The frame attem pting navigation of the top-level window is sandboxed, but the 'allow-top-naviga tion' flag is not set. 1 CONSOLE ERROR: Unsafe JavaScript attempt to initiate navigation for frame with U RL 'http://127.0.0.1:8000/security/no-popup-from-sandbox-top.html' from frame wi th 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.
2 2
3 ALERT: PASS 3 CONSOLE MESSAGE: line 1: PASS
4 To run this test outside of DumpRenderTree, please disable your popup blocker! 4 To run this test outside of DumpRenderTree, please disable your popup blocker!
5 5
6 6
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698