https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 42a0067d9a06c3cfa4a002346a08378ca21d6770 authored by Venkatesh Pitta on 11 April 2018, 09:34:45 UTC
Improve error when unable to find SSL key or cert.
Tip revision: 42a0067
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