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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/resources/navigation-preload-scope.php

Issue 2795653002: Merge to M58: Support redirect responses for NavigationPreload (Closed)
Patch Set: Created 3 years, 9 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: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/resources/navigation-preload-scope.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/resources/navigation-preload-scope.php b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/resources/navigation-preload-scope.php
index 6397e6b4ddcd7714d0ec267577906bd196bab18d..a32187aecbbc358fc2298b776cd30e5e250d29d6 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/resources/navigation-preload-scope.php
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/resources/navigation-preload-scope.php
@@ -1,7 +1,7 @@
<?php
-if (isset($_GET['RedirectError'])) {
- header('Location: dummy.html');
+if (isset($_GET['Redirect'])) {
header('HTTP/1.0 302 Found');
+ header('Location: ./navigation-preload-redirected.html');
} if (isset($_GET['BrokenChunked'])) {
header("Content-type: text/html; charset=UTF-8");
header("Transfer-encoding: chunked");

Powered by Google App Engine
This is Rietveld 408576698