https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 40aed2be8bf6949b11d95c9295a2cf0f878fcc50 authored by Arthur Sonzogni on 17 December 2018, 08:59:26 UTC
history.back() called twice must not navigate back twice.
Tip revision: 40aed2b
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