1 CONSOLE ERROR: line 8: Unsafe JavaScript attempt to initiate navigation for fram
e with URL 'http://127.0.0.1:8000/security/frameNavigation/sandbox-DENIED-top-na
vigation-without-user-gesture.html' from frame with URL 'http://localhost:8000/s
ecurity/frameNavigation/resources/iframe-that-performs-top-navigation-without-us
er-gesture-failed.html'. The frame attempting navigation of the top-level window
is sandboxed with the 'allow-top-navigation-with-user-activation' flag, but has
no user activation (aka gesture). See https://www.chromestatus.com/feature/5629
582019395584.
2
3 This tests that an iframe in sandbox with 'allow-top-navigation-with-user-activa
tion' cannot navigate its top level page, if it is not trigged by a user gesture
.
4
5
6
7 --------
8 Frame: '<!--framePath //<!--frame0-->-->'
9 --------
10 The top navigation from this iframe should be blocked. This text should appear.
Issue 2645733002: Add an 'allow-top-navigation-with-user-interaction' sandbox flag.
(Closed)
Created 3 years, 11 months ago by Bin Lu
Modified 3 years, 11 months ago
Reviewers: Rick Byers, Nate Chapin
Base URL:
Comments: 0