-
Notifications
You must be signed in to change notification settings - Fork 828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[workbox-window] Waiting event does not trigger sometimes. #2165
Comments
Reproducing Repo: https://github.com/azizhk/next-workbox/ Netlify Commands:
|
CC: @philipwalton to confirm. This sounds to me like the scenario described at https://developers.google.com/web/tools/workbox/modules/workbox-window#when_an_unexpected_version_of_the_service_worker_is_found There's an Does that address your issue? |
Yup, I guess this must be it. |
Yeah, the heuristic is here. You can see the comments in the code: workbox/packages/workbox-window/src/Workbox.ts Lines 343 to 374 in 4e770a6
If you were able to deploy a new version of the service worker in less than a minute, you'd get a false positive on the heuristic. |
Library Affected: workbox-window
workbox-sw, workbox-build, etc.
Browser & Platform: Google Chrome Version 75.0.3770.142
Issue or Feature Request Description:
Your request here. Issue
Steps to reproduce (sometimes)
I have the following Chrome extensions, I don't think any of Chrome apps are suspending the tab. (The js in the long running tab is still running)
The text was updated successfully, but these errors were encountered: