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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-navigation-top-denied-expected.txt

Issue 2713283002: Turn on the flag for 'allow-top-navigation-by-user-activation'. (Closed)
Patch Set: Refine the error message for blocked navigation within sandboxed iframe. Created 3 years, 9 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
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 flag of 'allow-top-navigation' or 'allow-t op-navigation-by-user-activation' 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 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'.
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. 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.
5 5
6 6
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698