https://github.com/web-platform-tests/wpt
Raw File
Tip revision: b55e29597d92ab89063673f031151e2bdb4b9479 authored by Joe Downing on 22 March 2018, 07:35:35 UTC
Move KeyboardLock API methods to a 'keyboard' object
Tip revision: b55e295
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