- From: aliams <notifications@github.com>
- Date: Fri, 19 Jan 2018 15:59:12 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 19 January 2018 23:59:33 UTC
@jungkees, are these what the tests would look like for what you are describing in your examples? 1. ```javascript waitPromise = async_task_waituntil(event); event.waitUntil(waitPromise); waitPromise.then(() => { return Promise.resolve().then(() => sync_waituntil(event)) }).then(reportResultExpecting('InvalidStateError')); ``` 2. ```javascript waitPromise = async_task_waituntil(event); waitPromise.then(() => { return Promise.resolve().then(() => sync_waituntil(event)) }).then(reportResultExpecting('OK')); event.waitUntil(waitPromise); ``` -- 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/1213#issuecomment-359122656
Received on Friday, 19 January 2018 23:59:33 UTC