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

Side by Side Diff: LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf-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: 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. 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 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 tests that you can't get the prototype of the window object cross-origin us ing Object.getPrototypeOf().
3 This tests that you can't get the prototype of the window or history objects cro ss-origin using Object.getPrototypeOf().
4 3
5 PASS: Object.getPrototypeOf(targetWindow) should be 'undefined' and is. 4 PASS: Object.getPrototypeOf(targetWindow) should be 'undefined' and is.
6 PASS: Object.getPrototypeOf(targetWindow.history) should be 'undefined' and is.
7 5
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698