gecko-dev/testing/web-platform/tests/selection/idlharness.window.js

19 строки
342 B
JavaScript

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