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

Unified Diff: LayoutTests/http/tests/security/cross-frame-access-history-get-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/cross-frame-access-history-get-expected.txt
diff --git a/LayoutTests/http/tests/security/cross-frame-access-history-get-expected.txt b/LayoutTests/http/tests/security/cross-frame-access-history-get-expected.txt
deleted file mode 100644
index 8c5acb25ff43ba46387f5e76fc82c7416e83a4da..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/cross-frame-access-history-get-expected.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-
-
------ tests for getting window.history and its properties -----
-
-PASS: canGet('targetWindow.history.length') should be 'false' and is.
-PASS: canGet('targetWindow.history.back') should be 'true' and is.
-PASS: canGet('targetWindow.history.forward') should be 'true' and is.
-PASS: canGet('targetWindow.history.go') should be 'true' and is.
-*** FAIL: canGet('targetWindow.history.toString') should be 'true' but instead is false. ***
-*** FAIL: toString('targetWindow.history') should be '[object History]' but instead is [exception]. ***
-PASS: canGet('targetWindow.__proto__') should be 'false' and is.
-PASS: canGet('targetWindow.constructor') should be 'false' and is.
-PASS: canGet('targetWindow.history.existingCustomProperty') should be 'false' and is.
-PASS: canGet('targetWindow.history.__proto__.prototypeCustomProperty') should be 'false' and is.
-PASS: canCall('targetWindow.history.existingCustomFunction') should be 'false' and is.
-PASS: canCall('targetWindow.history.prototypeCustomFunction') should be 'false' and is.
-

Powered by Google App Engine
This is Rietveld 408576698