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

Unified Diff: LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf-expected.txt
diff --git a/LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf-expected.txt b/LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf-expected.txt
index 6d53b045533f15a737dc4e77a7b21d571bbad62b..4048ac17538072b3c7031c853222477749c473c7 100644
--- a/LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf-expected.txt
+++ b/LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf-expected.txt
@@ -1,5 +1,4 @@
-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.
This tests that you can't get the prototype of the window object cross-origin using Object.getPrototypeOf().
-PASS: Object.getPrototypeOf(targetWindow) should be 'undefined' and is.
+PASS: Object.getPrototypeOf(targetWindow) should have thrown an exception, and did.

Powered by Google App Engine
This is Rietveld 408576698