You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firebase CDN scripts fail to load in service worker environments using importScripts().
sw.js:1 Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'https://www.gstatic.com/firebasejs/10.12.5/firebase-app.js' failed to load.
at http://localhost:50929/sw.js:1:1
This issue only exists on version 10.12.5. I tested on 10.12.4 and do not encounter the error.
Operating System
macOS
Browser Version
Chrome
Firebase SDK Version
10.12.5
Firebase SDK Product:
Component
Describe your project's tooling
Vanilla JS Service worker
Describe the problem
Firebase CDN scripts fail to load in service worker environments using
importScripts()
.This issue only exists on version 10.12.5. I tested on 10.12.4 and do not encounter the error.
Steps and code to reproduce issue
index.html
:sw.js
:npm install -g serve
npx serve
The text was updated successfully, but these errors were encountered: