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

Unified Diff: LayoutTests/http/tests/serviceworker/fetch-cors-xhr-expected.txt

Issue 600393004: [ServiceWorker] Set FetchRequestMode and handle wasFetchedViaServiceWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add comment Created 6 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
Index: LayoutTests/http/tests/serviceworker/fetch-cors-xhr-expected.txt
diff --git a/LayoutTests/http/tests/serviceworker/fetch-cors-xhr-expected.txt b/LayoutTests/http/tests/serviceworker/fetch-cors-xhr-expected.txt
index 15775c5727e25c6730e3a1b8c753da963ca41ee8..97fc0b92e9e23cba21e0ba1720832e7564b587b7 100644
--- a/LayoutTests/http/tests/serviceworker/fetch-cors-xhr-expected.txt
+++ b/LayoutTests/http/tests/serviceworker/fetch-cors-xhr-expected.txt
@@ -1,7 +1,10 @@
-CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/serviceworker/resources/fetch-access-control.php. 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: XMLHttpRequest cannot load http://localhost:8000/serviceworker/resources/fetch-access-control.php. 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: XMLHttpRequest cannot load http://localhost:8000/serviceworker/resources/fetch-access-control.php?ACAOrigin=http://127.0.0.1:8000. Credentials flag is 'true', but the 'Access-Control-Allow-Credentials' header is ''. It must be 'true' to allow credentials.
-
+CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/serviceworker/resources/fetch-access-control.php?ignore. 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: XMLHttpRequest cannot load http://localhost:8000/serviceworker/resources/fetch-access-control.php?ignore. 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: XMLHttpRequest cannot load http://localhost:8000/serviceworker/resources/fetch-access-control.php?ACAOrigin=http://127.0.0.1:8000&ignore. Credentials flag is 'true', but the 'Access-Control-Allow-Credentials' header is ''. It must be 'true' to allow credentials.
+CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/serviceworker/resources/fetch-access-control.php?Auth&ignore. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. The response had HTTP status code 401.
+CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/serviceworker/resources/fetch-access-control.php?Auth&ignore. 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: XMLHttpRequest cannot load http://localhost:8000/serviceworker/resources/fetch-access-control.php?Auth&ACAOrigin=http://127.0.0.1:8000&ignore. Credentials flag is 'true', but the 'Access-Control-Allow-Credentials' header is ''. It must be 'true' to allow credentials.
+
This is a testharness.js-based test.
PASS Verify CORS XHR of fetch() in a Service Worker
Harness: the test ran to completion.

Powered by Google App Engine
This is Rietveld 408576698