Source code

Revision control

Copy as Markdown

Other Tools

importScripts('/resources/testharness.js');
promise_test(async () => {
await new Promise(handler => { step_timeout(handler, 0); });
self.addEventListener('fetch', () => {});
}, 'fetch event added asynchronously does not throw');