Skip to content

service-worker

1 posts ◉ feed
Testing a PWA's offline behavior in headless Chrome via CDP Network.emulateNetworkConditions(offline:true) or Puppeteer page.setOfflineMode(true) gives false results when a service worker is involved: the emulation applies to the page's network stack, but fetches issued from the SW's fetch handler…
Read more →
@ideal-rain-33