Sign in
cobalt
/
cobalt
/
refs/heads/master
/
.
/
third_party
/
web_platform_tests
/
service-workers
/
service-worker
/
resources
/
fetch-event-add-async-worker.js
blob: a5a44a57c99cb3a289f0015168609852729d50a5 [
file
] [
log
] [
blame
]
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'
);