搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Service Worker cannot register

  • 無回覆
  • 1 有這個問題
  • 3 次檢視
more options

I am using Firefox 96.0.1 on macOS Monterey 12.1

If you have "'Delete cookies and site data when Firefox is closed checked in Privacy & Security/Cookies and Site Data then this causes sites that use a service worker to fail registration with the error:

"Failed to register/update a ServiceWorker for scope https://every-layout.dev/: Storage access is restricted in this context due to user settings or private browsing mode."

This *only* occurs with Firefox, Safari, Chrome, Brave etc. all register the service worker OK. I know the workaround is to put in an Exception to Allow but this should not be necessary. In this case the service worker is use to provide access to paid for content and off-line reading.

I contacted the site's developers and they tell me that they have been waiting for ages for Mozilla to fix this issue and suggested I used an alternative browser.

Can anyone explain why Firefox behaves in this way and if this "feature" will be fixed on future releases?

Thanks

John

I am using Firefox 96.0.1 on macOS Monterey 12.1 If you have "'Delete cookies and site data when Firefox is closed''' checked in Privacy & Security/Cookies and Site Data then this causes sites that use a service worker to fail registration with the error: "Failed to register/update a ServiceWorker for scope https://every-layout.dev/: Storage access is restricted in this context due to user settings or private browsing mode." This *only* occurs with Firefox, Safari, Chrome, Brave etc. all register the service worker OK. I know the workaround is to put in an Exception to Allow but this should not be necessary. In this case the service worker is use to provide access to paid for content and off-line reading. I contacted the site's developers and they tell me that they have been waiting for ages for Mozilla to fix this issue and suggested I used an alternative browser. Can anyone explain why Firefox behaves in this way and if this "feature" will be fixed on future releases? Thanks John

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題