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

Side by Side Diff: LayoutTests/http/tests/security/cross-frame-access-callback-explicit-domain-DENY-expected.txt

Issue 19564003: Populate cross-origin location access SecurityError messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. 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://127.0.0.1:8000". The frame requesting access set "document.domain" to "127.0.0.1", but the frame being accessed did not. Both mu st set "document.domain" to the same value to allow access.
2 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://127.0.0.1:8000". The frame requesting access set "document.domain" to "127.0.0.1", but the frame being accessed did not. Both mu st set "document.domain" to the same value to allow access.
3 Test that a child frame can't define a function and the use it to access parent properties after document.domain write blocks the access. 1 Test that a child frame can't define a function and the use it to access parent properties after document.domain write blocks the access.
4 2
5 3
6 4
7 -------- 5 --------
8 Frame: '<!--framePath //<!--frame0-->-->' 6 Frame: '<!--framePath //<!--frame0-->-->'
9 -------- 7 --------
10 PASS: canGet('parentWindow.location.href') should be 'false' and is. 8 PASS: canGet('parentWindow.location.href') should be 'false' and is.
11 PASS: accessThrowsException('parentWindow.location.href') should be 'true' and i s. 9 PASS: accessThrowsException('parentWindow.location.href') should be 'true' and i s.
12 10
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698