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

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: Update case where header is present but not for the correct origin. Created 5 years, 3 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. If an opa que 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://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 This is a testharness.js-based test. 3 This is a testharness.js-based test.
4 PASS fetch() with 200 should not output error messages 4 PASS fetch() with 200 should not output error messages
5 PASS fetch() with 404 should not output error messages 5 PASS fetch() with 404 should not output error messages
6 PASS net::ERR_TOO_MANY_REDIRECTS should not output error messages 6 PASS net::ERR_TOO_MANY_REDIRECTS should not output error messages
7 PASS net::ERR_INVALID_CHUNKED_ENCODING should not output error messages 7 PASS net::ERR_INVALID_CHUNKED_ENCODING should not output error messages
8 PASS A didFailAccessControlCheck() error should output an error message 8 PASS A didFailAccessControlCheck() error should output an error message
9 PASS A didFailRedirectCheck() error should output an error message 9 PASS A didFailRedirectCheck() error should output an error message
10 Harness: the test ran to completion. 10 Harness: the test ran to completion.
11 11
OLDNEW
« no previous file with comments | « no previous file | Source/core/fetch/CrossOriginAccessControl.h » ('j') | Source/core/fetch/CrossOriginAccessControl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698