Revision 7606bc9d6b70744b1afcdf8b946af67fce5211ec authored by Anne van Kesteren on 09 March 2017, 10:59:34 UTC, committed by Anne van Kesteren on 14 May 2018, 08:31:24 UTC
Closes #5064.
1 parent fcb5082
Raw File
interfaces.any.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

promise_test(async() => {
  const text = await fetch('/interfaces/url.idl')
    .then(response => response.text());
  const idlArray = new IdlArray();
  idlArray.add_idls(text);
  idlArray.add_objects({
    URL: ['new URL("http://foo")'],
    URLSearchParams: ['new URLSearchParams("hi=there&thank=you")']
  });
  idlArray.test();
  done();
}, 'Test driver');
back to top