https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 6a33b243f29a42f0a38e95b3bf3c8428e109b10a authored by Javier Fernandez on 18 December 2018, 22:50:09 UTC
[LayoutNG] New value 'break-spaces' for the white-space property
Tip revision: 6a33b24
idlharness.https.any.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

'use strict';

// https://w3c.github.io/server-timing/

promise_test(async () => {
  const idl = await fetch('/interfaces/server-timing.idl').then(r => r.text());
  const res = await fetch('/interfaces/resource-timing.idl').then(r => r.text());
  const perf = await fetch('/interfaces/performance-timeline.idl').then(r => r.text());

  const idl_array = new IdlArray();
  idl_array.add_idls(idl);
  idl_array.add_dependency_idls(res);
  idl_array.add_dependency_idls(perf);
  idl_array.add_objects({
    Performance: ['performance'],
  });
  idl_array.test();
}, 'Test server-timing IDL implementation');
back to top