https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 6c6f6b0206180f8a1899e827474c486024a124b9 authored by Emilio Cobos Álvarez on 11 April 2018, 13:23:42 UTC
followup: Remove a explicit testharness.css link to appease wptlint. on a CLOSED TREE
Tip revision: 6c6f6b0
interfaces.https.any.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

'use strict';

// https://w3c.github.io/payment-handler/

promise_test(async () => {
  const idl = await fetch('/interfaces/payment-handler.idl').then(r => r.text());
  const idlArray = new IdlArray();
  idlArray.add_idls(idl);
  idlArray.add_untested_idls('interface ExtendableEvent {};');
  idlArray.add_untested_idls('dictionary ExtendableEventInit {};');
  idlArray.test();
  done();
}, 'Payment handler interfaces.');
back to top