https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 9e34bb15e5b4662e9d59ec01e9d0e228e49b44ee authored by Jake Archibald on 06 April 2018, 15:33:01 UTC
Testing range header is actually sent to the server
Tip revision: 9e34bb1
interfaces.any.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

'use strict';

// https://compat.spec.whatwg.org/

promise_test(async () => {
  const idl = await fetch('/interfaces/compat.idl').then(r => r.text());
  const idlArray = new IdlArray();
  idlArray.add_untested_idls('interface Window {};');
  idlArray.add_untested_idls('interface EventTarget{};');
  idlArray.add_untested_idls('interface HTMLBodyElement{};');
  idlArray.add_idls(idl);
  idlArray.test();
  done();
}, 'compat interfaces.');
back to top