https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 3e97222a89de5d7094b14bae8c9f469e28c6836b authored by James Graham on 11 April 2018, 18:02:33 UTC
Stop running tests on pypy
Tip revision: 3e97222
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