mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Update web-platform-tests to revision abd18b3e018d25ed668d179c905b7869dca5e239
This commit is contained in:
parent
908a642063
commit
158f7eec0e
117 changed files with 2997 additions and 434 deletions
14
tests/wpt/web-platform-tests/console/idlharness.any.js
Normal file
14
tests/wpt/web-platform-tests/console/idlharness.any.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
// 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');
|
Loading…
Add table
Add a link
Reference in a new issue