https://github.com/web-platform-tests/wpt
Raw File
Tip revision: ac4966fa4dcda8e22ade19e03ed6690de7b9cece authored by Henrik Boström on 28 March 2018, 15:48:04 UTC
RTCRtpSender.getStats() in blink added behind flag.
Tip revision: ac4966f
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