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

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: incorporated falken's comment 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..e542e89da1d5eea59e7bc9080a34cbe5a085335e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/resources/navigation-preload-scope.php
@@ -0,0 +1,13 @@
+<?php
+if (isset($_GET['RedirectError'])) {
+ header('Location: dummy.html');
+ header('HTTP/1.0 302 Found');
+} if (isset($_GET['BrokenCunked'])) {
falken 2017/01/18 14:50:07 Chunked
horo 2017/01/19 09:57:09 Done.
+ header("Content-type: text/html; charset=UTF-8");
+ header("Transfer-encoding: chunked");
+ echo "hello\nworld\n";
+} else {
+ header("Content-Type: text/html; charset=UTF-8");
+ echo "OK";
+}
+?>

Powered by Google App Engine
This is Rietveld 408576698