blob: a5a44a57c99cb3a289f0015168609852729d50a5 (
plain)
1
2
3
4
5
6
|
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');
|