ExtendableEvent
interface extends the lifetime of the install
and activate
events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent
) are not dispatched until it upgrades database schemas and deletes the outdated cache entries.focused
read-only property of the WindowClient
interface is a Boolean
that indicates whether the current client has focus.