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

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

Issue 2245063003: ServiceWorker: Call SyncMatchingRegistration when document_url is changed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use arrow function and add a comment Created 4 years, 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?php
2 header("Cache-Control: no-cache, must-revalidate");
3 header("Pragma: no-cache");
4 header('Content-Type:application/javascript');
5
6 echo '// ', microtime();
7 ?>
8
9 addEventListener('fetch', event => {
10 return;
11 });
12
13 addEventListener('install', event => {
14 event.waitUntil(self.skipWaiting());
15 });
16
17 addEventListener('activate', event => {
18 event.waitUntil(self.clients.claim());
19 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698