lighthouse: "Site does not register a service worker." While it does
Edit: I’ve removed SW registration from the page https://bazaar.co/hello/
So you on’t be able to reproduce the bug anymore.
Other links are available further down in this thread.
Provide the steps to reproduce
- Go to https://bazaar.co/hello/ with google chrome
- Open chrome dev tools Audits tab, make sure
Clear Storageis checked - Run an audit
What is the current behavior?
It says
User will not be prompted to Install the Web App
Failures: Site does not register a service worker.
Meanwhile the Applications > Service workers tabs of the devtools says that my service worker is activated and running
I can also observe the cache effects of my service worker.
If you uncheck Clear Storage it seems to be working as expected.
What is the expected behavior?
The audit should not say Failures: Site does not register a service worker.
Environment Information
- Chrome Version 69.0.3497.100 (64 bits)
- vue-cli-pwa
- service worker loaded with https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/cli-plugin-pwa/generator/template/src/registerServiceWorker.js
Related issues https://github.com/GoogleChrome/lighthouse/issues/1815 https://github.com/GoogleChrome/lighthouse/issues/5527
(and thanks for you awesome work!)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (4 by maintainers)
From #6935: another possible repro site: https://www.ackeller.ch/