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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cors-fetch-failure-output-expected.txt

Issue 2332263002: Updated suborigin serialization to latest spec proposal (Closed)
Patch Set: Actually disable test 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 MESSAGE: line 9: If a Suborigin makes a request, a response without an A ccess-Control-Allow-Suborigin header should fail and should output a reasonable error message. 1 CONSOLE MESSAGE: line 9: If a Suborigin makes a request, a response without an A ccess-Control-Allow-Suborigin header should fail and should output a reasonable error message.
2 CONSOLE ERROR: Fetch API cannot load http://127.0.0.1:8000/security/resources/co rs-script.php?cors=false. Response to preflight request doesn't pass access cont rol check: No 'Access-Control-Allow-Origin' header is present on the requested r esource. Origin 'http://foobar_127.0.0.1:8000' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. 2 CONSOLE ERROR: Fetch API cannot load http://127.0.0.1:8000/security/resources/co rs-script.php?cors=false. Response to preflight request doesn't pass access cont rol check: No 'Access-Control-Allow-Origin' header is present on the requested r esource. Origin 'http-so://foobar.127.0.0.1:8000' is therefore not allowed acces s. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
3 CONSOLE MESSAGE: line 12: PASS: Fetch correctly failed 3 CONSOLE MESSAGE: line 12: PASS: Fetch correctly failed
4 CONSOLE ERROR: Fetch API cannot load http://127.0.0.1:8000/security/resources/co rs-script.php?cors=false. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://foobar_127.0.0.1:8000' is therefore not a llowed access. If an opaque response serves your needs, set the request's mode t o 'no-cors' to fetch the resource with CORS disabled. 4 CONSOLE ERROR: Fetch API cannot load http://127.0.0.1:8000/security/resources/co rs-script.php?cors=false. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http-so://foobar.127.0.0.1:8000' is therefore no t allowed access. If an opaque response serves your needs, set the request's mod e to 'no-cors' to fetch the resource with CORS disabled.
5 CONSOLE MESSAGE: line 12: PASS: Fetch correctly failed 5 CONSOLE MESSAGE: line 12: PASS: Fetch correctly failed
6 6
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698