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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/request-end-to-end-worker.js

Issue 721103003: [ServiceWorker] Serialize request.referrer to "about:client" when it's client. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 1 month 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/request-end-to-end-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/request-end-to-end-worker.js b/LayoutTests/http/tests/serviceworker/resources/request-end-to-end-worker.js
index 9a4a4102779000c7e58cd47ee15ad2e6ae45f2f5..199e586990fb24d2362f595a5726793bbc54c753 100644
--- a/LayoutTests/http/tests/serviceworker/resources/request-end-to-end-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/request-end-to-end-worker.js
@@ -16,6 +16,7 @@ onfetch = function(e) {
port.postMessage({
url: e.request.url,
method: e.request.method,
+ referrer: e.request.referrer,
headers: headers,
headerSize: e.request.headers.size
});

Powered by Google App Engine
This is Rietveld 408576698