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

Side by Side Diff: LayoutTests/http/tests/security/sandboxed-iframe-blocks-access-from-parent-expected.txt

Issue 19095003: Throw 'SecurityError' upon cross-origin Location access. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline. Created 7 years, 5 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: Sandbox access violation: Blocked a frame at "http://127.0.0.1: 8000" from accessing a frame at "http://127.0.0.1:8000". The frame being access ed is sandboxed and lacks the "allow-same-origin" flag. 1 CONSOLE MESSAGE: Sandbox access violation: Blocked a frame at "http://127.0.0.1: 8000" from accessing a frame at "http://127.0.0.1:8000". The frame being access ed is sandboxed and lacks the "allow-same-origin" flag.
2 Sandboxing a frame puts it into a unique origin by default, which the containing document shouldn't have script access to. This test passes if a console warning is generated, noting the access violation. 2 ALERT: PASS: Cross-origin access to the Location object threw an exception.
3 Sandboxing a frame puts it into a unique origin by default, which the containing document shouldn't have script access to. This test passes if an exception is t hrown upon the access violation.
3 4
4 5
5 6
6 -------- 7 --------
7 Frame: 'testframe' 8 Frame: 'testframe'
8 -------- 9 --------
9 10
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698