Files
tubestation/testing/web-platform/tests/dom/idlharness.any.js
Anne van Kesteren f55def8521 Bug 1631719 [wpt PR 23133] - *.any.js: explicitly list defaults, part 3, a=testonly
Automatic update from web-platform-tests
*.any.js: explicitly list defaults, part 3

*.any.js's META global no longer supports negation or the default feature making everything a bit easier as a result.

See https://github.com/web-platform-tests/rfcs/pull/52, #23117, and #23121.

Closes #23111.
--

wpt-commits: 96c7f0b57b704c94a7535d58009500ea94c02995
wpt-pr: 23133
2020-05-04 18:11:51 +00:00

26 lines
617 B
JavaScript

// 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();