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

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: Updated comments Created 4 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/claim-with-redirect-iframe.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // This no-op fetch handler is necessary to bypass explicitly the no fetch
10 // handler optimization by which this service worker script can be skipped.
11 addEventListener('fetch', event => {
12 return;
13 });
14
15 addEventListener('install', event => {
16 event.waitUntil(self.skipWaiting());
17 });
18
19 addEventListener('activate', event => {
20 event.waitUntil(self.clients.claim());
21 });
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/claim-with-redirect-iframe.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698