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
Hi @yhuang1211, thanks for bringing this to our attention. I was able to reproduce the behavior now. Let me check with our engineers what we can do for this issue or bring someone here that can provide more context about it. I’ll update this thread if I have any information to share.
Operating System
MacOS 14.5
Browser Version
Chrome 127.0.6533.89
Firebase SDK Version
10.12.5
Firebase SDK Product:
Messaging
Describe your project's tooling
NextJS App
Describe the problem
Chrome keeps logging the following error after updating to v10.12.5:
Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'https://www.gstatic.com/firebasejs/10.12.5/firebase-app-compat.js' failed to load.
at https://.../firebase-messaging-sw.js:1:1
Steps and code to reproduce issue
Update to firebase sdk 10.12.5 and modify firebase-messaging-sw.js as follows:
After the modification Chrome is logging the following error every time a page loads:
Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'https://www.gstatic.com/firebasejs/10.12.5/firebase-app-compat.js' failed to load.
at https://.../firebase-messaging-sw.js:1:1
If we change firebase-messaging-sw.js back to
then the error message goes away.
Does anyone have ideas about what's causing this?
The text was updated successfully, but these errors were encountered: