mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 13:18:45 +02:00
Automatic update from web-platform-testsAdd the worklets IDL file and test (#9856) -- wpt-commits: f582e7ad3b06d37fa65957aa93dc62bf7429e803 wpt-pr: 9856
13 lines
384 B
JavaScript
13 lines
384 B
JavaScript
importScripts("/resources/testharness.js");
|
|
importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");
|
|
|
|
// https://drafts.css-houdini.org/worklets/
|
|
|
|
promise_test(async () => {
|
|
const idl = await fetch('/interfaces/worklets.idl').then(r => r.text());
|
|
|
|
const idl_array = new IdlArray();
|
|
idl_array.add_idls(idl);
|
|
idl_array.test();
|
|
}, 'worklets interfaces');
|
|
done();
|