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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/sandbox-DENIED-top-navigation-without-user-gesture-expected.txt

Issue 2645733002: Add an 'allow-top-navigation-with-user-interaction' sandbox flag. (Closed)
Patch Set: Fix the tests finally! Created 3 years, 11 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
OLDNEW
(Empty)
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.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698