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

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

Issue 2620463002: Show service worker navigation preload requests in DevTools Network tab (Closed)
Patch Set: Created 3 years, 11 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
new file mode 100644
index 0000000000000000000000000000000000000000..f9036a0a8a2e506a97e4356167d21924b5e8c43b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/resources/navigation-preload-scope.php
@@ -0,0 +1,9 @@
+<?php
+ if (isset($_GET['RedirectError'])) {
+ header('Location: dummy.html');
+ header('HTTP/1.0 302 Found');
+ } else {
+ header("Content-Type: text/html; charset=UTF-8");
+ echo "OK";
+ }
+?>

Powered by Google App Engine
This is Rietveld 408576698