| Index: third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js b/third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js
|
| index 699fcf01dc0c28c9a03a15f3cef5e0cbb363a223..4b7a2ff5cf1e5cd3f529b22481fda49e203fe578 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js
|
| @@ -110,6 +110,7 @@ var noServerHeader =
|
| var typeBasic = checkFetchResponseType.bind(this, 'basic');
|
| var typeCors = checkFetchResponseType.bind(this, 'cors');
|
| var typeOpaque = checkFetchResponseType.bind(this, 'opaque');
|
| +var typeOpaqueredirect = checkFetchResponseType.bind(this, 'opaqueredirect');
|
| var responseRedirected = checkFetchResponseRedirected.bind(this, true);
|
| var responseNotRedirected = checkFetchResponseRedirected.bind(this, false);
|
|
|
| @@ -307,6 +308,9 @@ function getRequestInit(params) {
|
| if (params['mode']) {
|
| init['mode'] = params['mode'];
|
| }
|
| + if (params['redirectmode']) {
|
| + init['redirect'] = params['redirectmode'];
|
| + }
|
| if (params['credentials']) {
|
| init['credentials'] = params['credentials'];
|
| }
|
|
|