Re: [w3c/ServiceWorker] async waitUntil() does not allow extension on final promise resolution? (#1039)

I don't think either q or r waitUntil calls in your example shoudl throw.  However, s here should throw:

```
e.waitUntil(p) // p.then (i.e., upon settlement step in the spec)

// do not throw
p.then(_ => e.waitUntil(q));
p.then(_ => e.waitUntil(r));

// throws
p.then(_ => Promise.resolve().then(_ => e.waitUntil(s)));
```

-- 
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/1039#issuecomment-272215615

Received on Thursday, 12 January 2017 16:47:32 UTC