servo/tests/wpt/web-platform-tests/selection/idlharness.window.js

19 lines
372 B
JavaScript

// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
'use strict';
// https://w3c.github.io/selection-api/
idl_test(
['selection-api'],
['dom', 'html'],
idlArray => {
idlArray.add_objects({
Window: ['window'],
Document: ['document'],
Selection: ['getSelection()'],
});
},
'selection-api interfaces'
);