https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 588f3143f83a476da6062e4901684064fd073078 authored by James Graham on 10 April 2018, 10:16:46 UTC
Add python handler directory to Python path in wptserve
Tip revision: 588f314
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