/sw-error-bypass

Reproduction for https://bugs.chromium.org/p/chromium/issues/detail?id=1451746

Primary LanguageJavaScript

Bug reproduction instructions

  1. Run a local server (ex http-server), hosting ./index.html
  2. Open Chrome
  3. Open DevTools
  4. Navigate to the hosted index.html (ex if you used http-server with default settings, http://localhost:8080/index.html)
    • The debugger in client.js has paused execution
  5. Go to Network panel
  6. Set throttle to 1 Kbps
  7. Click the play button under the address bar to resume execution
  8. Wait ~30 seconds
  9. Kill the local server
  10. Switch to DevTools’ Network panel
  11. Remove the throttle (“no throttle”)
  12. Switch to DevTools’ Console panel
  13. Notice the error printed in the console cites client.js but no error citing sw.js