Index: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/navigation-redirect-out-scope.py |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/navigation-redirect-out-scope.py b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/navigation-redirect-out-scope.py |
index 4b40762d89ff05ae56f2a48a2295c47454dc3392..0cd5ef18516fab27d48f4df1e33a6fdfe9a4df80 100644 |
--- a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/navigation-redirect-out-scope.py |
+++ b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/navigation-redirect-out-scope.py |
@@ -3,7 +3,12 @@ def main(request, response): |
headers = [("Location", request.GET["url"])] |
return 302, headers, '' |
- return [], ''' |
+ status = 200 |
+ |
+ if "noLocationRedirect" in request.GET: |
+ status = 302 |
+ |
+ return status, [], ''' |
<!DOCTYPE html> |
<script> |
window.parent.postMessage( |