https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 292f3687ff5172f5bf246347bc271510fc19ca5a authored by Emilio Cobos Álvarez on 11 April 2018, 18:35:20 UTC
Remove usage of setTimeout to appease lint.
Tip revision: 292f368
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