Revision 0c9986c6206c8a261cdcfc05694dd904f0023788 authored by Simon Pieters on 23 April 2018, 13:12:39 UTC, committed by fantasai on 23 April 2018, 20:33:02 UTC
1 parent 3a2abb9
Raw File
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