https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 1a820895fed948ed44e9c310b9dbe4e2180530d8 authored by Andreas Tolfsen on 11 April 2018, 14:51:35 UTC
Add webdriver.Element string representation.
Tip revision: 1a82089
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