blob: 201e0313b0e968b6b8c2d5d9a990476dab13c04b [file] [log] [blame]
// META: global=!default,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.');