blob: 26da3ab3bf94d59a6e1fd9b7c4131b63c7c3bf30 [file] [log] [blame]
// META: global=worker
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: timeout=long
// Note: This test doesn't cover the Window context, see idlharness.window.js
// for that coverage and why it can't be merged into this test.
'use strict';
idl_test(
['dom'],
['html'],
idl_array => {
idl_array.add_objects({
EventTarget: ['new EventTarget()'],
Event: ['new Event("foo")'],
CustomEvent: ['new CustomEvent("foo")'],
AbortController: ['new AbortController()'],
AbortSignal: ['new AbortController().signal'],
});
}
);
done();