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

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

Issue 1196423003: Improve console log message for CORS failure (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix Created 4 years, 4 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: CSS stylesheet from origin 'http://localhost:8080' has been block ed from loading by Cross-Origin Resource Sharing policy: A wildcard '*' cannot b e 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. 1 CONSOLE ERROR: Access to CSS stylesheet at 'http://localhost:8080/security/resou rces/green-background-allow-star.php?1' from origin 'http://localhost:8080' 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: CSS stylesheet from origin 'http://localhost:8080' has been block ed from loading by Cross-Origin Resource Sharing policy: A wildcard '*' cannot b e 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. 2 CONSOLE ERROR: Access to CSS stylesheet at 'http://localhost:8080/security/resou rces/green-background-allow-star.php?2' from origin 'http://localhost:8080' 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.
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