Chromium Code Reviews| 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"; |
| +} |
| +?> |