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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/navigation/new-window-sandboxed-iframe-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 3: Unsafe JavaScript attempt to initiate navigation for fram e with URL 'http://127.0.0.1:8000/navigation/resources/new-window-sandboxed-ifra me-destination.html' from frame with URL 'http://127.0.0.1:8000/navigation/resou rces/new-window-sandboxed-iframe-destination-iframe.html'. The frame attempting navigation of the top-level window is sandboxed, but the 'allow-top-navigation' flag is not set. 1 CONSOLE ERROR: line 3: Unsafe JavaScript attempt to initiate navigation for fram e with URL 'http://127.0.0.1:8000/navigation/resources/new-window-sandboxed-ifra me-destination.html' from frame with URL 'http://127.0.0.1:8000/navigation/resou rces/new-window-sandboxed-iframe-destination-iframe.html'. The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navi gation' or 'allow-top-navigation-by-user-activation' is not set.
2 2
3 3
4 4
5 ============== Back Forward List ============== 5 ============== Back Forward List ==============
6 curr-> http://127.0.0.1:8000/navigation/new-window-sandboxed-iframe.html 6 curr-> http://127.0.0.1:8000/navigation/new-window-sandboxed-iframe.html
7 http://127.0.0.1:8000/navigation/resources/new-window-sandboxed-ifra me-iframe.html (in frame "<!--framePath //<!--frame0-->-->") 7 http://127.0.0.1:8000/navigation/resources/new-window-sandboxed-ifra me-iframe.html (in frame "<!--framePath //<!--frame0-->-->")
8 =============================================== 8 ===============================================
9 9
10 ============== Back Forward List ============== 10 ============== Back Forward List ==============
11 curr-> http://127.0.0.1:8000/navigation/resources/new-window-sandboxed-iframe-d estination.html 11 curr-> http://127.0.0.1:8000/navigation/resources/new-window-sandboxed-iframe-d estination.html
12 http://127.0.0.1:8000/navigation/resources/new-window-sandboxed-ifra me-destination-iframe.html (in frame "<!--framePath //<!--frame0-->-->") 12 http://127.0.0.1:8000/navigation/resources/new-window-sandboxed-ifra me-destination-iframe.html (in frame "<!--framePath //<!--frame0-->-->")
13 =============================================== 13 ===============================================
14 14
15 ============== Back Forward List ============== 15 ============== Back Forward List ==============
16 curr-> http://127.0.0.1:8000/navigation/resources/notify-done.html 16 curr-> http://127.0.0.1:8000/navigation/resources/notify-done.html
17 =============================================== 17 ===============================================
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698