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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php

Issue 2763123002: Upstream service worker `claim` tests to WPT (Closed)
Patch Set: Persist Chromium-specific version of test Created 3 years, 9 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/resources/update-claim-worker.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php
deleted file mode 100644
index bd75fc1345f8499cedbae120976eeeb3513885c6..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-header("Cache-Control: no-cache, must-revalidate");
-header("Pragma: no-cache");
-header('Content-Type:application/javascript');
-
-echo '// ', microtime();
-?>
-
-// This no-op fetch handler is necessary to bypass explicitly the no fetch
-// handler optimization by which this service worker script can be skipped.
-addEventListener('fetch', event => {
- return;
- });
-
-addEventListener('install', event => {
- event.waitUntil(self.skipWaiting());
- });
-
-addEventListener('activate', event => {
- event.waitUntil(self.clients.claim());
- });

Powered by Google App Engine
This is Rietveld 408576698