https://github.com/web-platform-tests/wpt
Raw File
Tip revision: dd79be3ee575503e4e9595dfe8ce8141d8aedb72 authored by Hiroki Nakagawa on 22 March 2018, 05:53:36 UTC
Worker: Support ES Modules on DedicatedWorker behind the runtime flag
Tip revision: dd79be3
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