mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
14 lines
395 B
JavaScript
14 lines
395 B
JavaScript
// META: script=/resources/WebIDLParser.js
|
|
// META: script=/resources/idlharness.js
|
|
|
|
// https://console.spec.whatwg.org/
|
|
|
|
promise_test(async () => {
|
|
const srcs = ['console'];
|
|
const [idl] = await Promise.all(
|
|
srcs.map(i => fetch(`/interfaces/${i}.idl`).then(r => r.text())));
|
|
|
|
const idl_array = new IdlArray();
|
|
idl_array.add_idls(idl);
|
|
idl_array.test();
|
|
}, 'console interfaces');
|