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

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

Issue 1126253007: Block modal dialogs inside sandboxes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WebSandboxFlags. Created 5 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 CONSOLE ERROR: Unsafe JavaScript attempt to initiate navigation for frame with U RL 'navigate-top-by-name-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
3 CONSOLE ERROR: Blocked opening 'fail-and-notify-done.html' in a new window becau se the request was made in a sandboxed frame whose 'allow-popups' permission is not set.
4 CONSOLE ERROR: Unsafe JavaScript attempt to initiate navigation for frame with U RL 'navigate-top-by-name-to-fail.html'. The frame attempting navigation of the t op-level window is sandboxed, but the 'allow-top-navigation' flag is not set.
5
6 CONSOLE ERROR: Unsafe JavaScript attempt to initiate navigation for frame with U RL 'navigate-top-by-name-to-fail.html'. The frame attempting navigation of the t op-level window is sandboxed, but the 'allow-top-navigation' flag is not set.
7
8 CONSOLE ERROR: Blocked opening 'fail-and-notify-done.html' in a new window becau se the request was made in a sandboxed frame whose 'allow-popups' permission is not set.
9 ALERT: PASS
10 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.
11
12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698