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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/fetch/chromium/error-messages-expected.txt
diff --git a/LayoutTests/http/tests/fetch/chromium/error-messages-expected.txt b/LayoutTests/http/tests/fetch/chromium/error-messages-expected.txt
index de1634e0cdfae8641056deb35471b6d1c8ca8f35..8e220c41450b002836c04ae8b0aefc17346161d6 100644
--- a/LayoutTests/http/tests/fetch/chromium/error-messages-expected.txt
+++ b/LayoutTests/http/tests/fetch/chromium/error-messages-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE ERROR: Fetch API cannot load http://localhost:8000/fetch/resources/doctype.html. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
+CONSOLE ERROR: Fetch API cannot load http://localhost:8000/fetch/resources/doctype.html. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://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.
CONSOLE ERROR: Fetch API cannot load http://localhost:8000/fetch/resources/redirect-loop.php?Count=100&ACAOrigin=*. Redirect failed.
This is a testharness.js-based test.
PASS fetch() with 200 should not output error messages
« 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