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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-worker.js

Issue 600393004: [ServiceWorker] Set FetchRequestMode and handle wasFetchedViaServiceWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add setFetchCredentialsMode in PingLoader::PingLoader() 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/resources/fetch-request-xhr-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-worker.js b/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-worker.js
index f21a86320017c8cc8a37eb283e59cab9ebe8f123..91b3abb14d9c675a0bd886344a26482f36bb5770 100644
--- a/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-worker.js
@@ -12,6 +12,8 @@ self.addEventListener('fetch', function(event) {
.then(function(result) {
resolve(new Response(JSON.stringify({
method: event.request.method,
+ mode: event.request.mode,
+ credentials: event.request.credentials,
headers: headers,
body: result
})));

Powered by Google App Engine
This is Rietveld 408576698