[w3c/ServiceWorker] Update interface for install event in summary table (PR #1706)

Following #1701, the `install` event now uses the `InstallEvent` interface.

(FWIW, I noticed that because our spec crawler parses that table to map events with interfaces and make sure that everything's consistent)

I note that the spec also says in [section 4.4](https://w3c.github.io/ServiceWorker/#ref-for-service-worker-global-scope-install-event%E2%91%A1):

> [Service workers](https://w3c.github.io/ServiceWorker/#dfn-service-worker) have two [lifecycle events](https://w3c.github.io/ServiceWorker/#dfn-lifecycle-events), [install](https://w3c.github.io/ServiceWorker/#service-worker-global-scope-install-event) and [activate](https://w3c.github.io/ServiceWorker/#service-worker-global-scope-activate-event). [Service workers](https://w3c.github.io/ServiceWorker/#dfn-service-worker) use the [ExtendableEvent](https://w3c.github.io/ServiceWorker/#extendableevent) interface for [activate](https://w3c.github.io/ServiceWorker/#service-worker-global-scope-activate-event) event and [install](https://w3c.github.io/ServiceWorker/#service-worker-global-scope-install-event) event.

That's not completely wrong since `InstallEvent` inherits from `ExtendableEvent`, but maybe worth updating as well? The whole paragraph could perhaps be dropped since it does not really add new information: lifecycle events are already defined elsewhere, and the interface used is defined in algorithms (and summarized in the events table).


You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/ServiceWorker/pull/1706

-- Commit Summary --

  * Update interface for install event in summary table

-- File Changes --

    M docs/index.bs (2)

-- Patch Links --

https://github.com/w3c/ServiceWorker/pull/1706.patch
https://github.com/w3c/ServiceWorker/pull/1706.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1706
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/pull/1706@github.com>

Received on Thursday, 22 February 2024 09:44:22 UTC