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

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

Issue 1109633002: Basic experimental suborigin CSP directive and SecurityOrigin mods (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on ToT Created 5 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/suborigins/crossorigin/suborigin-cross-origin-window-open-exception-expected.txt
diff --git a/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-open-exception-expected.txt b/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-open-exception-expected.txt
index 6fa0771705975330c53c5c3a66f6073f815c39b6..7fb9da7aa4542953c14d54c9e3ce21e65ca2e0d1 100644
--- a/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-open-exception-expected.txt
+++ b/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-open-exception-expected.txt
@@ -1,14 +1,10 @@
-CONSOLE ERROR: Unrecognized Content-Security-Policy directive 'suborigin'.
-
-CONSOLE ERROR: Unrecognized Content-Security-Policy directive 'suborigin'.
-
Cross-origin access to 'window.open' and 'window.opener' should throw a SecurityError.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-FAIL frame.contentWindow.open() should throw SecurityError: Blocked a frame with origin "suborigin+foobar+http://127.0.0.1:8000" from accessing a cross-origin frame.. Was undefined.
-FAIL frame.contentWindow.opener = 1; should throw SecurityError: Failed to set the 'opener' property on 'Window': Blocked a frame with origin "suborigin+foobar+http://127.0.0.1:8000" from accessing a cross-origin frame.. Was 1.
+FAIL frame.contentWindow.open() 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.opener = 1; should throw SecurityError: Failed to set the 'opener' property on 'Window': Blocked a frame with origin "http://foobar_127.0.0.1:8000" from accessing a cross-origin frame.. Was 1.
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698