mirror of
https://github.com/servo/servo.git
synced 2025-10-04 10:39:16 +01:00
16 lines
401 B
JavaScript
16 lines
401 B
JavaScript
// 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.');
|