1 CONSOLE ERROR: line 2: Unsafe JavaScript attempt to initiate navigation for fram
e with URL 'navigate-top-to-fail.html'. The frame attempting navigation of the t
op-level window is sandboxed, but the 'allow-top-navigation' flag is not set.
1 CONSOLE ERROR: line 2: Unsafe JavaScript attempt to initiate navigation for fram
e with URL 'navigate-top-to-fail.html'. The frame attempting navigation of the t
op-level window is sandboxed, but the 'allow-top-navigation' flag is not set.
2
2
3 CONSOLE ERROR: line 2: Uncaught SecurityError: Failed to set the 'location' prop
erty on 'Window': The current window does not have permission to navigate the ta
rget frame to 'fail-and-notify-done.html'.
3 This test verifies that a sandboxed IFrame cannot navigate the top-level frame w
ithout allow-top-navigation. This test passes if the navigation does not occur.
4 This test verifies that a sandboxed IFrame cannot navigate the top-level frame w
ithout allow-top-navigation. This test passes if the navigation does not occur.
Issue 2371993003: Throw when blocking top-level navigation.
(Closed)
Created 4 years, 2 months ago by Mike West
Modified 4 years, 2 months ago
Reviewers: jochen (gone - plz use gerrit), elawrence
Base URL:
Comments: 3