| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-redirect.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-redirect.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-redirect.html
|
| index a50a4a960dae39ae1bd7c73364cc7943c5010c83..1ba7f87cf8f80807f6a27306532e1395e7f95cc1 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-redirect.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-redirect.html
|
| @@ -370,6 +370,16 @@ promise_test(function(t) {
|
| [OTHER_ORIGIN_SCOPE]]);
|
| });
|
| }, 'Redirect to other-origin in-scope with opaque redirect response.');
|
| +promise_test(function(t) {
|
| + return setup_environment(t).then(function() {
|
| + return test_redirect(
|
| + SCOPE1 + 'sw=opaque&noLocationRedirect',
|
| + SCOPE1 + 'sw=opaque&noLocationRedirect',
|
| + [[SCOPE1 + 'sw=opaque&noLocationRedirect'],
|
| + [],
|
| + []]);
|
| + });
|
| + }, 'No location redirect response.');
|
|
|
| // Opaque redirect passed through Cache.
|
| // SW responds with an opaque redirectresponse from the Cache API.
|
| @@ -443,5 +453,16 @@ promise_test(function(t) {
|
| },
|
| 'Redirect to other-origin in-scope with opaque redirect response which ' +
|
| 'is passed through Cache.');
|
| +promise_test(function(t) {
|
| + return setup_environment(t).then(function() {
|
| + return test_redirect(
|
| + SCOPE1 + 'sw=opaqueThroughCache&noLocationRedirect',
|
| + SCOPE1 + 'sw=opaqueThroughCache&noLocationRedirect',
|
| + [[SCOPE1 + 'sw=opaqueThroughCache&noLocationRedirect'],
|
| + [],
|
| + []]);
|
| + });
|
| + }, 'No location redirect response via Cache.');
|
| +
|
| </script>
|
| </body>
|
|
|