blob: 65b02b12b36017ac363d17272eeb8c0b143c3f59 (
plain)
1
2
3
4
5
6
7
8
|
'use strict';
self.addEventListener('activate', event => {
event.waitUntil(new Promise(() => {
// Use a promise that never resolves to prevent this service worker from
// advancing past the 'activating' state.
}));
});
|