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

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

Issue 1060033002: Implement Request.context for Fetch API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 91b3abb14d9c675a0bd886344a26482f36bb5770..931f1a9577cbe164d52130a3151dcb901b91adcf 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,7 @@ self.addEventListener('fetch', function(event) {
.then(function(result) {
resolve(new Response(JSON.stringify({
method: event.request.method,
+ context: event.request.context,
mode: event.request.mode,
credentials: event.request.credentials,
headers: headers,

Powered by Google App Engine
This is Rietveld 408576698