1// Minimal service worker â exists so Android Chrome treats Backstage Baton 2// as an installable PWA and fires the `beforeinstallprompt` event. We do 3// not cache or transform requests; the fetch handler is a pass-through so 4// the network behavior is identical to having no SW at all. 5// 6// If we want offline support later, add a cache strategy here. 7 8self.addEventListener('install', () => { 9 self.skipWaiting() 10}) 11 12self.addEventListener('activate', (event) => { 13 event.waitUntil(self.clients.claim()) 14}) 15 16self.addEventListener('fetch', () => { 17 // Pass-through â required by Chrome's install criteria, but no caching. 18})
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.