1self.addEventListener('install', function(e){ self.skipWaiting(); }); 2self.addEventListener('activate', function(e){ 3 e.waitUntil((async function(){ 4 try { var ks = await caches.keys(); await Promise.all(ks.map(function(k){ return caches.delete(k); })); } catch(err){} 5 try { await self.registration.unregister(); } catch(err){} 6 try { var cs = await self.clients.matchAll({type:'window'}); cs.forEach(function(c){ c.navigate(c.url); }); } catch(err){} 7 })()); 8});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.