[w3c/ServiceWorker] Making it easier to handle the state of extendable events (#1348)

Currently it's impossible for another spec to know if an extendable event is in progress, or what the result was afterwards.

I intended to just mark some things as "export", but tried to tidy up the useage along the way.

* `ExtendableEvent`'s **extend lifetime promises** is now exported.
* `ExtendableEvent` now has a  **timed out flag**, which makes the user agent timeout a little more formal and detectable by other specs.
* `ExtendableEvent` now has an **active** 'getter', which indicates the event is in progress.

If this is ok, I'll make the same changes in v1.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Making it easier to handle the state of extendable events

-- File Changes --

    M docs/index.bs (28)

-- Patch Links --

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

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

Received on Tuesday, 21 August 2018 15:06:14 UTC