зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1662459 [wpt PR 25331] - Worklets: use idl_test and .any.js, a=testonly
Automatic update from web-platform-tests Worklets: use idl_test and .any.js -- wpt-commits: bb44803b1af0b52021d73919bb79a560bd0c77f1 wpt-pr: 25331
This commit is contained in:
Родитель
fcaca6947a
Коммит
c4a98111e9
|
@ -0,0 +1,11 @@
|
|||
// META: script=/resources/WebIDLParser.js
|
||||
// META: script=/resources/idlharness.js
|
||||
|
||||
// https://drafts.css-houdini.org/worklets/
|
||||
|
||||
'use strict';
|
||||
|
||||
idl_test(
|
||||
['worklets'],
|
||||
[]
|
||||
);
|
|
@ -1,13 +0,0 @@
|
|||
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();
|
Загрузка…
Ссылка в новой задаче