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

Side by Side Diff: LayoutTests/http/tests/security/cross-frame-access-location-get-override-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://localhost:8000". Protocols, domains, and ports m ust match.
2 1
3 ----- tests for getting a targetWindow's location object's functions which have custom overrides. The desired behavior is for the targetWindow to return the bu iltin function, not the override ----- 2 ----- tests for getting a targetWindow's location object's functions which have custom overrides. The desired behavior is for the targetWindow to return the bu iltin function, not the override -----
4 3
5 PASS: canGet('targetWindow.location.assign') should be 'true' and is. 4 PASS: canGet('targetWindow.location.assign') should be 'true' and is.
6 PASS: toString('targetWindow.location.assign') should be 'function () { [native code] }' and is. 5 PASS: toString('targetWindow.location.assign') should be 'function () { [native code] }' and is.
7 PASS: canGet('targetWindow.location.reload') should be 'false' and is. 6 PASS: canGet('targetWindow.location.reload') should be 'false' and is.
8 PASS: canGet('targetWindow.location.replace') should be 'true' and is. 7 PASS: canGet('targetWindow.location.replace') should be 'true' and is.
9 PASS: toString('targetWindow.location.replace') should be 'function () { [native code] }' and is. 8 PASS: toString('targetWindow.location.replace') should be 'function () { [native code] }' and is.
10 9
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698