| This is a testharness.js-based test. |
| PASS Test calling waitUntil in a task at the end of the event handler without an existing extension throws |
| FAIL Test calling waitUntil in a microtask at the end of the event handler without an existing extension suceeds assert_equals: expected "OK" but got "InvalidStateError" |
| PASS Test calling waitUntil in a different task an existing extension succeeds |
| PASS Test calling waitUntil at the end of an existing extension promise handler succeeds (event is still being dispatched) |
| FAIL Test calling waitUntil in a microtask at the end of an existing extension promise handler succeeds (event is still being dispatched) assert_equals: expected "OK" but got "InvalidStateError" |
| PASS Test calling waitUntil in an existing extension promise handler succeeds (event is not being dispatched) |
| PASS Test calling waitUntil in a microtask at the end of an existing extension promise handler throws (event is not being dispatched) |
| PASS Test calling waitUntil after the current extension expired in a different task fails |
| PASS Test calling waitUntil on a script constructed ExtendableEvent throws exception |
| PASS Test calling waitUntil asynchronously with pending respondWith promise. |
| PASS Test calling waitUntil synchronously inside microtask of respondWith promise (event is being dispatched). |
| FAIL Test calling waitUntil asynchronously inside microtask of respondWith promise (event is being dispatched). assert_equals: expected "OK" but got "InvalidStateError" |
| PASS Test calling waitUntil synchronously inside microtask of respondWith promise (event is not being dispatched). |
| PASS Test calling waitUntil asynchronously inside microtask of respondWith promise (event is not being dispatched). |
| Harness: the test ran to completion. |
| |