Revision 243b0ce046e922019a87eb7ae8e73b724c6d9bb7 authored by Luke Bjerring on 22 March 2018, 14:30:50 UTC, committed by Luke Bjerring on 22 March 2018, 14:30:50 UTC
1 parent ee643b5
Raw File
interfaces.https.any.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

'use strict';

if (self.importScripts) {
  importScripts('/resources/testharness.js');
  importScripts('/resources/WebIDLParser.js', '/resources/idlharness.js');
}

// 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