ExtendableEventinterface extends the lifetime of the
activateevents 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.
focusedread-only property of the
WindowClientinterface is a
Booleanthat indicates whether the current client has focus.