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

Unified Diff: LayoutTests/http/tests/security/link-crossorigin-subresource-use-credentials-expected.txt

Issue 135723008: Add CORS support for <link> elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add setCrossOriginAccessControl() helper to avoid repetition matching CORS attribute value Created 6 years, 11 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/link-crossorigin-subresource-use-credentials-expected.txt
diff --git a/LayoutTests/http/tests/security/link-crossorigin-subresource-use-credentials-expected.txt b/LayoutTests/http/tests/security/link-crossorigin-subresource-use-credentials-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56b1a5e6b87090f434eab48230a772a39bb06553
--- /dev/null
+++ b/LayoutTests/http/tests/security/link-crossorigin-subresource-use-credentials-expected.txt
@@ -0,0 +1,9 @@
+CONSOLE ERROR: Link subresource from origin 'http://localhost:8080' has been blocked from loading by Cross-Origin Resource Sharing policy: A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
+CONSOLE ERROR: Link subresource from origin 'http://localhost:8080' has been blocked from loading by Cross-Origin Resource Sharing policy: A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
+Test that a subresource with a crossorigin=use-credentials attribute loads the expected CORS enabled resources.
+
+PASS
+PASS
+PASS
+PASS
+

Powered by Google App Engine
This is Rietveld 408576698