NekR / offline-plugin

Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
MIT License
4.52k stars 295 forks source link

Firefox: Unhandled Rejection (SecurityError): The operation is insecure. #477

Open ch-tactica opened 4 years ago

ch-tactica commented 4 years ago

I'm getting the following error in Firefox, when I have my Firefox configured to delete cookies and site data when Firefox is closed:

Unhandled Rejection (SecurityError): The operation is insecure.

And it originates when I run:

require('offline-plugin/runtime').install();

I'm using offline-plugin version: 5.0.7.

A very similar issue, along with some proposed fixes were mentioned in another repository in this issue: https://github.com/gatsbyjs/gatsby/issues/16076

LeComptoirDesPharmacies commented 4 years ago

Hi @ch-tactica,

Same error on our side !