Sign in
webkit
/
WebKit
/
d412672bedbda3cf7604d3ce86f733e80eb3476f
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
workers
/
Worker-custom-event.any.js
blob: d7e983aaddc59dcd05eeadb75ea5ac30cf0a6e28 [
file
] [
log
] [
blame
]
// META: global=worker
async_test
(
t
=>
{
var
target
=
self
;
target
.
addEventListener
(
'custom-event'
,
t
.
step_func_done
());
var
event
=
new
Event
(
'custom-event'
);
target
.
dispatchEvent
(
event
);
},
'Test CustomEvents on workers.'
);