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

Unified Diff: LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-event-exception-expected.txt

Issue 1180923003: Add window access checks for Suborigins (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tests on Windows Created 5 years, 6 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/suborigins/crossorigin/suborigin-cross-origin-window-event-exception-expected.txt
diff --git a/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-event-exception-expected.txt b/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-event-exception-expected.txt
index 8564c0c77be4ea7f6f7d6d866aa005ace0c41fe8..333d7a8f0f6b66c04b5c019d38e12095c37e5a88 100644
--- a/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-event-exception-expected.txt
+++ b/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-event-exception-expected.txt
@@ -3,8 +3,8 @@ Cross-origin access to 'window.event' should throw a SecurityError.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-FAIL frame.contentWindow.event should throw SecurityError: Blocked a frame with origin "http://foobar_127.0.0.1:8000" from accessing a cross-origin frame.. Was undefined.
-FAIL frame.contentWindow.event = 1; should throw SecurityError: Blocked a frame with origin "http://foobar_127.0.0.1:8000" from accessing a cross-origin frame.. Was 1.
+PASS frame.contentWindow.event threw exception SecurityError: Blocked a frame with origin "http://foobar_127.0.0.1:8000" from accessing a cross-origin frame..
+PASS frame.contentWindow.event = 1; threw exception SecurityError: Blocked a frame with origin "http://foobar_127.0.0.1:8000" from accessing a cross-origin frame..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698