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

Unified Diff: LayoutTests/http/tests/htmlimports/redirect-cross-origin-cross-same-2-expected.txt

Issue 149643003: Improve handling of CORS redirects for some resource loads. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use canRequest() when checking redirect origin; remove redundant null checks. Created 6 years, 10 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/htmlimports/redirect-cross-origin-cross-same-2-expected.txt
diff --git a/LayoutTests/http/tests/htmlimports/redirect-cross-origin-cross-same-2-expected.txt b/LayoutTests/http/tests/htmlimports/redirect-cross-origin-cross-same-2-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42f448adc185abe91b4b7f8ed47d0959f7ea2563
--- /dev/null
+++ b/LayoutTests/http/tests/htmlimports/redirect-cross-origin-cross-same-2-expected.txt
@@ -0,0 +1,4 @@
+CONSOLE ERROR: Imported resource from origin 'http://127.0.0.1:8000' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
+
+PASS Accessing to a same origin import including intermediate CORS domain redirect
+

Powered by Google App Engine
This is Rietveld 408576698