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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/resources/force-update-on-page-load-worker.php

Issue 1365733006: Add LayoutTest for "Force update" checkbox of Service Worker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated ksakamoto's comment Created 5 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-force-update-on-page-load.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/resources/force-update-on-page-load-worker.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/resources/force-update-on-page-load-worker.php b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/resources/force-update-on-page-load-worker.php
new file mode 100644
index 0000000000000000000000000000000000000000..aff03a43d1d9dd114025aecd30fa564b6aeeb70a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/resources/force-update-on-page-load-worker.php
@@ -0,0 +1,7 @@
+<?php
+header('Cache-Control: max-age=86400');
+header('Content-type: text/javascript');
+?>
+self.addEventListener('fetch', function(event) {
+ event.respondWith(new Response("<?= uniqid() ?>"));
+});
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-force-update-on-page-load.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698