https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 638ed72053ec83d65076325790b7c618bf3a88dc authored by Geoffrey Sneddon on 26 September 2018, 10:38:29 UTC
Revert "Make wptrunner chrome always use the WebDriver executor (#13200)"
Tip revision: 638ed72
idlharness.window.js
// 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()'],
    });
  }
);
back to top