-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Firefox 69+: Error unregistering serviceWorker #8047
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
Comments
#8079 fixes this issue If it's urgent for you then you'll have to apply the change directly in your project. Here is the fix. |
@esetnik Ok there must be different issues happening. I was getting it locally in Firefox using https. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
The issue is still present, please don't close it. |
I experience the same issue. Only in Firefox, using http, in my dev environment. Registering the service worker makes the problem go away, but this is not a desirable solution. |
I'm also experiencing this issue in Firefox 72.0.2 (64-bit) on Mac OS Mojave 10.14.6. |
This exception is raised in Firefox when the
|
What's the reasoning for having service workers in the CRA template? I guess it's a good thing if you want offline support and what not, but is it really necessary as a default? |
@lPadier - BOOM! That is it. I have Firefox setup the same way and was scratching my head! |
I'm also seeing this on production with Firefox 73.0 |
I believe this was fixed in #8272 but you need to manually update your |
FWIW I'm seeing better handling in the latest version of serviceWorker.js. I'm going to try swapping mine out with the new code and see if that works. |
Ha yup I think that's probably it. |
I think the default |
Closing as it sounds like it's resolved in latest templates. |
When trying to run an application created with creat-react-app using Firefox 69+ I receive the following error:
Unhandled Rejection (SecurityError): The operation is insecure
Tested with latest Chrome and Edge version -> OK
Tested with Firefox 67 -> OK
The text was updated successfully, but these errors were encountered: