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

Side by Side Diff: LayoutTests/http/tests/fetch/chromium/error-messages-expected.txt

Issue 1300083002: Add suggestion to use "no-cors" with Fetch fails CORS check. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch CORS error expectation files to include message about Fetch CORS. Created 5 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: Fetch API cannot load http://localhost:8000/fetch/resources/docty pe.html. No 'Access-Control-Allow-Origin' header is present on the requested res ource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 1 CONSOLE ERROR: Fetch API cannot load http://localhost:8000/fetch/resources/docty pe.html. No 'Access-Control-Allow-Origin' header is present on the requested res ource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. Alternati vely, if you want an opaque response, switch to The Fetch API in 'no-cors' mode.
2 CONSOLE ERROR: Fetch API cannot load http://localhost:8000/fetch/resources/redir ect-loop.php?Count=100&ACAOrigin=*. Redirect failed. 2 CONSOLE ERROR: Fetch API cannot load http://localhost:8000/fetch/resources/redir ect-loop.php?Count=100&ACAOrigin=*. Redirect failed.
3 CONSOLE WARNING: Request.context is deprecated and will be removed in M46 (see: https://www.chromestatus.com/feature/5534702526005248). 3 CONSOLE WARNING: Request.context is deprecated and will be removed in M46 (see: https://www.chromestatus.com/feature/5534702526005248).
4 This is a testharness.js-based test. 4 This is a testharness.js-based test.
5 PASS fetch() with 200 should not output error messages 5 PASS fetch() with 200 should not output error messages
6 PASS fetch() with 404 should not output error messages 6 PASS fetch() with 404 should not output error messages
7 PASS net::ERR_TOO_MANY_REDIRECTS should not output error messages 7 PASS net::ERR_TOO_MANY_REDIRECTS should not output error messages
8 PASS net::ERR_INVALID_CHUNKED_ENCODING should not output error messages 8 PASS net::ERR_INVALID_CHUNKED_ENCODING should not output error messages
9 PASS A didFailAccessControlCheck() error should output an error message 9 PASS A didFailAccessControlCheck() error should output an error message
10 PASS A didFailRedirectCheck() error should output an error message 10 PASS A didFailRedirectCheck() error should output an error message
11 PASS A deprecation warning should be output for Request.context 11 PASS A deprecation warning should be output for Request.context
12 Harness: the test ran to completion. 12 Harness: the test ran to completion.
13 13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698