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

  1. Go to https://bazaar.co/hello/ with google chrome
  2. Open chrome dev tools Audits tab, make sure Clear Storage is checked
  3. 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

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)

Most upvoted comments

From #6935: another possible repro site: https://www.ackeller.ch/