https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 83cf6fd6fbbb64545931116254f05f954c7452e4 authored by Darren Shen on 10 April 2018, 13:25:59 UTC
[css-typed-om] Add support for fill & stroke properties.
Tip revision: 83cf6fd
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