1self.addEventListener('install', event => { 2 console.log('Service worker installing...'); 3 // Add a call to skipWaiting here 4 }); 5 6 self.addEventListener('activate', event => { 7 console.log('Service worker activating...'); 8 }); 9 self.skipWaiting(); 10 11 self.addEventListener('fetch', event => { 12 console.log('Fetching:', event.request.url); 13 }); 14 15
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.