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
18 lines
373 B
JavaScript
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")'],
|
|
});
|
|
}
|
|
);
|