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

Side by Side Diff: LayoutTests/http/tests/security/cross-frame-access-first-time-expected.txt

Issue 19932002: Throw exceptions on all failed cross-origin access checks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test. 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: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
2 This test checks cross-frame access security for first-time access to the docume nt (rdar://problem/5251309). 1 This test checks cross-frame access security for first-time access to the docume nt (rdar://problem/5251309).
3 2
4 3
4 Exception thrown trying to get cross-domain document: SecurityError: Blocked a f rame with origin "http://127.0.0.1:8000" from accessing a frame with origin "htt p://localhost:8000". Protocols, domains, and ports must match.
5 canGet(frames[0], 'document'): false 5 canGet(frames[0], 'document'): false
6 canGet(frames[0].document, 'cookie'): false 6 canGet(frames[0].document, 'cookie'): false
7 canGet(frames[0].document, 'body'): false 7 canGet(frames[0].document, 'body'): false
8 canGet(frames[0].document, 'location'): false 8 canGet(frames[0].document, 'location'): false
9 9
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698