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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/navigation-preload-origin-trial-methods-scope.php

Issue 2627023002: Introduce Origin-Trial for Service Worker Navigation Preload (Closed)
Patch Set: s/an/a 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/serviceworker/chromium/resources/navigation-preload-origin-trial-methods-scope.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/navigation-preload-origin-trial-methods-scope.php b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/navigation-preload-origin-trial-methods-scope.php
new file mode 100644
index 0000000000000000000000000000000000000000..18cc3adf4ee735bdf562d0cfb795339e7d9bf7c4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/navigation-preload-origin-trial-methods-scope.php
@@ -0,0 +1,8 @@
+<?php
+ if (isset($_SERVER["HTTP_SERVICE_WORKER_NAVIGATION_PRELOAD"])) {
+ echo ("Service-Worker-Navigation-Preload header set: " .
+ $_SERVER["HTTP_SERVICE_WORKER_NAVIGATION_PRELOAD"]);
+ } else {
+ echo ("no Service-Worker-Navigation-Preload header");
+ }
+?>

Powered by Google App Engine
This is Rietveld 408576698