blob: 8c8b26aa4b3537bbf1c7cb02835d5c0b1a2b28f8 [file] [log] [blame]
CONSOLE ERROR: line 3: 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,%0A <script>%0A var win = window.open('about:blank', '_top');%0A console.log(win ? 'FAIL' : 'PASS');%0A </script>'. The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navigation' or 'allow-top-navigation-by-user-activation' is not set.
CONSOLE MESSAGE: line 4: PASS
To run this test outside of DumpRenderTree, please disable your popup blocker!