https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 35ef11d0f60dae103603ee92fd71a98bc3e12e7c authored by Luke Bjerring on 23 March 2018, 19:14:21 UTC
Special-case idlharness.js errors as an assert_throw option
Tip revision: 35ef11d
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 text = await fetch('/interfaces/payment-handler.idl').then(response =>
    response.text(),
  );
  const idlArray = new IdlArray();
  idlArray.add_idls(text);
  idlArray.test();
  done();
}, 'Payment handler interfaces.');
back to top