mdn-bcd-collector icon indicating copy to clipboard operation
mdn-bcd-collector copied to clipboard

PushManager/PushSubscription requires a service worker registration

Open queengooborg opened this issue 1 year ago • 0 comments

Both the PushManager and PushSubscription API require a service worker registration, as most of the properties are not available on them. However, to do so, we either a) need to register a new service worker in that moment, or b) use the existing service worker registration when running service worker-scoped tests, and overhaul the code to run service workers first and make sure we always load a service worker if we're able to.

queengooborg avatar Jun 26 '23 19:06 queengooborg