Re: [w3c/ServiceWorker] <object> having issue with service workers registration, failing with error message Service worker registration failed with: DOMException: Failed to register a ServiceWorker: The document is in an invalid state. (#1546)

Service worker should be used for iframes, so please file a bug if that isn't working (although, be aware that some browsers use third party isolation for cross origin iframes)

As for embed/object, it's unsafe to intercept those, as some plugins do not use the same security model as the web (eg Flash) https://w3c.github.io/ServiceWorker/#implementer-concerns

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1546#issuecomment-816531406

Received on Friday, 9 April 2021 08:54:03 UTC