blob: f1a953ba44043711be8cb6de2add0498325133f4 [file] [log] [blame]
CONSOLE MESSAGE: Unsafe JavaScript attempt to initiate navigation for frame with URL 'http://127.0.0.1:8000/security/block-top-level-navigations-by-sandboxed-iframe-with-propagated-user-gesture.html' from frame with URL 'http://localhost:8000/security/resources/navigate-top-level-frame-to-failure-page-via-message-handler.html'. The frame attempting navigation of the top-level window is sandboxed, but the 'allow-top-navigation' flag is not set.
CONSOLE MESSAGE: SecurityError: The operation is insecure.
Test blocking of top-level navigations by an iframe with `sandbox=allow-top-navigation-by-user-activation` when the user gesture is propagated from another context.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS All navigations by subframes have been blocked
PASS successfullyParsed is true
TEST COMPLETE