https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 23ecf31d3486c72b4fda870b0a5b5de5340aafb9 authored by Timothy Gu on 19 October 2018, 20:46:11 UTC
document.open(): Align history/URL behavior with spec
Tip revision: 23ecf31
idlharness.any.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

// https://w3c.github.io/beacon/

promise_test(async () => {
  const idl = await fetch('/interfaces/beacon.idl').then(r => r.text());
  const html = await fetch('/interfaces/html.idl').then(r => r.text());

  const idl_array = new IdlArray();
  idl_array.add_idls(idl);
  idl_array.add_dependency_idls(html);
  idl_array.add_objects({
    Navigator: ['navigator'],
  });
  idl_array.test();
}, 'beacon interfaces');
back to top