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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/eventsource/eventsource-cors-with-credentials-expected.txt

Issue 2419063002: Mention withCredentials attribute in the error message about CORS check failure (Closed)
Patch Set: Addressed #8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/eventsource/workers/eventsource-cors-with-credentials-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/eventsource/eventsource-cors-with-credentials-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/eventsource/eventsource-cors-with-credentials-expected.txt b/third_party/WebKit/LayoutTests/http/tests/eventsource/eventsource-cors-with-credentials-expected.txt
index 0290db04269f7ce2c72c27d0ededc73497b56ee3..cddc02f78d939ce71d19f460793fbb8eacdb617b 100644
--- a/third_party/WebKit/LayoutTests/http/tests/eventsource/eventsource-cors-with-credentials-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/eventsource/eventsource-cors-with-credentials-expected.txt
@@ -1,6 +1,6 @@
-CONSOLE ERROR: EventSource cannot load http://127.0.0.1:8080/eventsource/resources/es-cors-credentials.php?count=1. A wildcard '*' cannot be 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.
-CONSOLE ERROR: EventSource cannot load http://127.0.0.1:8080/eventsource/resources/es-cors-credentials.php?count=2. A wildcard '*' cannot be 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.
-CONSOLE ERROR: EventSource cannot load http://127.0.0.1:8080/eventsource/resources/es-cors-credentials.php?count=3. Credentials flag is 'true', but the 'Access-Control-Allow-Credentials' header is ''. It must be 'true' to allow credentials. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
+CONSOLE ERROR: EventSource cannot load http://127.0.0.1:8080/eventsource/resources/es-cors-credentials.php?count=1. The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
+CONSOLE ERROR: EventSource cannot load http://127.0.0.1:8080/eventsource/resources/es-cors-credentials.php?count=2. The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
+CONSOLE ERROR: EventSource cannot load http://127.0.0.1:8080/eventsource/resources/es-cors-credentials.php?count=3. The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
Test that EventSource cross-origin requests with credentials fail until the correct CORS headers are sent.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/eventsource/workers/eventsource-cors-with-credentials-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698