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
As reported in a support topic by @RavanH, when the PWA plugin is active the browser console has an error appearing in the Site Editor:
Uncaught (in promise) TypeError: Failed to register a ServiceWorker: The URL protocol of the scope (':') is not supported.
at a.es (Workbox.js:486:55)
at a.register (Workbox.js:299:41)
This is coming from the iframe that the Site Editor wraps around the template:
Two possible solutions here: (1) prevent this script from being injected when in the Site Editor, or (2) prevent attempting to register when the current page is a blob, such as if location.protocol === 'blob:' .
In any case, the error doesn’t seem like it is going to be causing any actual functionality problem other than the console getting populated with the error entry.
The text was updated successfully, but these errors were encountered:
As reported in a support topic by @RavanH, when the PWA plugin is active the browser console has an error appearing in the Site Editor:
This is coming from the iframe that the Site Editor wraps around the template:
Inside this iframe, the service worker is attempting to get installed:
And this is where the error is happening.
Two possible solutions here: (1) prevent this script from being injected when in the Site Editor, or (2) prevent attempting to register when the current page is a blob, such as if
location.protocol === 'blob:'
.In any case, the error doesn’t seem like it is going to be causing any actual functionality problem other than the console getting populated with the error entry.
The text was updated successfully, but these errors were encountered: