[w3c/ServiceWorker] clarify that manually constructed ExtendableEvent objects may not extend lifetime via waitUntil() (#1040)

Currently its possible to do this in the spec:

```
let e = new ExtendableEvent('foo');
e.waitUntil(new Promise());
```

By default the extensions allowed flag is set, so this does not throw an InvalidStateError.

We should be clear, though, that this does not actually extend the lifetime of the SW.  Currently the spec is written in a way that suggests that this might imbue some keep-alive budget to the SW.

-- 
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/issues/1040

Received on Thursday, 22 December 2016 15:22:39 UTC