Source code

Revision control

Copy as Markdown

Other Tools

'use strict';
self.addEventListener('install', event => {
event.waitUntil(new Promise(() => {
// Use a promise that never resolves to prevent this service worker from
// advancing past the 'installing' state.
}));
});