mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
16 lines
466 B
JavaScript
16 lines
466 B
JavaScript
// META: script=/resources/WebIDLParser.js
|
|
// META: script=/resources/idlharness.js
|
|
|
|
'use strict';
|
|
|
|
// https://wicg.github.io/animation-worklet/
|
|
|
|
promise_test(async () => {
|
|
const idl = await (await fetch('/interfaces/animation-worklet.idl')).text();
|
|
const html = await (await fetch('/interfaces/html.idl')).text();
|
|
const idlArray = new IdlArray();
|
|
idlArray.add_idls(idl);
|
|
idlArray.add_dependency_idls(html);
|
|
idlArray.test();
|
|
done();
|
|
}, 'Test driver');
|