This error only shows in the latest Firefox (74.0).
Works fine in Firefox 60.1 and Chrome 80.0.3987.149
Unhandled Rejection (SecurityError): The operation is insecure.
unregister
src/serviceWorker.js:131
128 |
129 | export function unregister() {
130 | if ('serviceWorker' in navigator) {
> 131 | navigator.serviceWorker.ready.then(registration => {
132 | registration.unregister();
133 | });
134 | }
./src/index.js
src/index.js:22
19 | // If you want your app to work offline and load faster, you can change
20 | // unregister() to register() below. Note this comes with some pitfalls.
21 | // Learn more about service workers: https://bit.ly/CRA-PWA
> 22 | serviceWorker.unregister();
23 |
webpack_require
/home/sharpener/sharpener-gui-1.3.5/webpack/bootstrap:785
782 | };
783 |
784 | // Execute the module function
> 785 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
786 |
787 | // Flag the module as loaded
788 | module.l = true;
fn
/home/sharpener/sharpener-gui-1.3.5/webpack/bootstrap:150
147 | );
148 | hotCurrentParents = [];
149 | }
> 150 | return __webpack_require__(request);
| ^
151 | };
152 | var ObjectFactory = function ObjectFactory(name) {
153 | return {
0
https://translator.broadinstitute.org/static/js/main.chunk.js:5671:18
webpack_require
/home/sharpener/sharpener-gui-1.3.5/webpack/bootstrap:785
782 | };
783 |
784 | // Execute the module function
> 785 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
| ^
786 |
787 | // Flag the module as loaded
788 | module.l = true;
checkDeferredModules
/home/sharpener/sharpener-gui-1.3.5/webpack/bootstrap:45
42 | }
43 | if(fulfilled) {
44 | deferredModules.splice(i--, 1);
> 45 | result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
| ^
46 | }
47 | }
48 |
webpackJsonpCallback
/home/sharpener/sharpener-gui-1.3.5/webpack/bootstrap:32
29 | deferredModules.push.apply(deferredModules, executeModules || []);
30 |
31 | // run deferred modules when all chunks ready
> 32 | return checkDeferredModules();
| ^
33 | };
34 | function checkDeferredModules() {
35 | var result;
(anonymous function)
https://translator.broadinstitute.org/static/js/main.chunk.js:1:87
This error only shows in the latest Firefox (74.0).
Works fine in Firefox 60.1 and Chrome 80.0.3987.149
Unhandled Rejection (SecurityError): The operation is insecure.
unregister
src/serviceWorker.js:131
./src/index.js
src/index.js:22
webpack_require
/home/sharpener/sharpener-gui-1.3.5/webpack/bootstrap:785
fn
/home/sharpener/sharpener-gui-1.3.5/webpack/bootstrap:150
0
https://translator.broadinstitute.org/static/js/main.chunk.js:5671:18
webpack_require
/home/sharpener/sharpener-gui-1.3.5/webpack/bootstrap:785
checkDeferredModules
/home/sharpener/sharpener-gui-1.3.5/webpack/bootstrap:45
webpackJsonpCallback
/home/sharpener/sharpener-gui-1.3.5/webpack/bootstrap:32
(anonymous function)
https://translator.broadinstitute.org/static/js/main.chunk.js:1:87