InstallEventinterface represents an install action that is dispatched on the
ServiceWorker. As a child of
ExtendableEvent, it ensures that functional events such as
FetchEventare not dispatched during installation.
activeWorkerread-only property of the
InstallEventinterface returns the
ServiceWorkerthat is currently actively controlling the page.
InstallEvent()constructor creates a new