https://github.com/web-platform-tests/wpt
Raw File
Tip revision: f7b5d90ef08a5419317a2456d9804aa664661507 authored by xiaoyu3x on 22 March 2018, 02:15:48 UTC
Add CEReactions tests for HTMLButtonElement
Tip revision: f7b5d90
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