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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/link-crossorigin-stylesheet-use-credentials-expected.txt

Issue 2419063002: Mention withCredentials attribute in the error message about CORS check failure (Closed)
Patch Set: Addressed #8 Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: Access to CSS stylesheet at 'http://localhost:8080/security/resou rces/green-background-allow-star.php?1' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: A wildcard '*' cannot be used in the 'Access-Contro l-Allow-Origin' header when the credentials flag is true. Origin 'http://127.0.0 .1:8000' is therefore not allowed access. 1 CONSOLE ERROR: Access to CSS stylesheet at 'http://localhost:8080/security/resou rces/green-background-allow-star.php?1' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' head er in the response must not be the wildcard '*' when the request's credentials m ode is 'include'. Origin 'http://127.0.0.1:8000' is therefore not allowed access .
2 CONSOLE ERROR: Access to CSS stylesheet at 'http://localhost:8080/security/resou rces/green-background-allow-star.php?2' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: A wildcard '*' cannot be used in the 'Access-Contro l-Allow-Origin' header when the credentials flag is true. Origin 'http://127.0.0 .1:8000' is therefore not allowed access. 2 CONSOLE ERROR: Access to CSS stylesheet at 'http://localhost:8080/security/resou rces/green-background-allow-star.php?2' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' head er in the response must not be the wildcard '*' when the request's credentials m ode is 'include'. Origin 'http://127.0.0.1:8000' is therefore not allowed access .
3 Test that a linked stylesheet with a crossorigin=use-credentials attributes load s expected CORS enabled resources. 3 Test that a linked stylesheet with a crossorigin=use-credentials attributes load s expected CORS enabled resources.
4 4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 6
7 7
8 PASS 8 PASS
9 PASS 9 PASS
10 PASS 10 PASS
11 PASS 11 PASS
12 PASS successfullyParsed is true 12 PASS successfullyParsed is true
13 13
14 TEST COMPLETE 14 TEST COMPLETE
15 15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698