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

Side by Side Diff: LayoutTests/fast/frames/sandboxed-iframe-history-denied-expected.txt

Issue 14198015: Deny cross-origin access to 'window.history'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 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
1 CONSOLE MESSAGE: Unsafe JavaScript attempt to initiate navigation for frame with URL 'script>'. The frame attempting navigation of the top-level window is sandb oxed, but the 'allow-top-navigation' flag is not set. 1 CONSOLE MESSAGE: Sandbox access violation: Blocked a frame at "null" from access ing a frame at "". The frame requesting access is sandboxed and lacks the "allo w-same-origin" flag.
2 2 This test verifies that a sandboxed IFrame cannot access the history object of t he top-level frame. It passes if a console error is present, noting that the inn er frame cannot access the outer.
3 ALERT: PASS
4 This test verifies that a sandboxed IFrame cannot navigate the top-level frame u sing the history API.
5 3
6 4
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698