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

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

Issue 1280733002: [3/3 blink] Support redirect option of Request and "opaqueredirect" response type. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@Redirect1
Patch Set: add comment Created 5 years, 4 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-rewrite-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-rewrite-worker.js b/LayoutTests/http/tests/serviceworker/resources/fetch-rewrite-worker.js
index b6fdc27705c71d0ed7dba9997bcd91fae6be26cb..f9693a649f6bd2926dca3f8f0fca3214a3550ad8 100644
--- a/LayoutTests/http/tests/serviceworker/resources/fetch-rewrite-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/fetch-rewrite-worker.js
@@ -23,6 +23,9 @@ function get_request_init(params) {
if (params['credentials']) {
init['credentials'] = params['credentials'];
}
+ if (params['redirect-mode']) {
+ init['redirect'] = params['redirect-mode'];
+ }
return init;
}

Powered by Google App Engine
This is Rietveld 408576698