Re: [w3c/ServiceWorker] Improve handling of extend lifetime promises (#1049)

This doesn't appear to be a good idea. I'm not sure what is trying to be accomplished, but as specced this means that given

```js
const p = getSomePromise();
const q = p.then(doSomething);
e.waitUntil(p);
const r = p.then(doSomethingElse);
```

will only wait on `p` and `q` but not `r`, which seems surprising. I would suggest trying to find some approach that does not look at [[PromiseFulfillReactions]] at all. Maybe just looking at `p` is sufficient, in this example, since `p` is what you actually are passing to `waitUntil`.

-- 
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/1049#issuecomment-270715822

Received on Thursday, 5 January 2017 18:17:03 UTC