Files
tubestation/testing/web-platform/tests/clipboard-apis/idlharness.https.window.js
Anne van Kesteren 92c80a6101 Bug 1662444 [wpt PR 25327] - Clipboard APIs: use idl_test, a=testonly
Automatic update from web-platform-tests
Clipboard APIs: use idl_test

This increases the total number of tests slightly, but does not change the number of failures in Chrome and Firefox. Also drop the `async-` prefix from the filename as it's not consistent with other IDL tests.
--

wpt-commits: 39faed8399b4aacd122d9f8218709e9f0528f3ac
wpt-pr: 25327
2021-02-02 17:08:26 +00:00

18 lines
373 B
JavaScript

// META: timeout=long
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
'use strict';
idl_test(
['clipboard-apis'],
['dom', 'html', 'permissions'],
idl_array => {
idl_array.add_objects({
Navigator: ['navigator'],
Clipboard: ['navigator.clipboard'],
ClipboardEvent: ['new ClipboardEvent("x")'],
});
}
);