mirror of
https://github.com/servo/servo.git
synced 2025-09-05 12:38:21 +01:00
Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d
This commit is contained in:
parent
c45192614c
commit
775b784f79
2144 changed files with 58115 additions and 29658 deletions
|
@ -1,2 +1,3 @@
|
|||
spec: https://drafts.css-houdini.org/worklets/
|
||||
suggested_reviewers:
|
||||
- bfgeek
|
||||
|
|
13
tests/wpt/web-platform-tests/worklets/idlharness.worker.js
Normal file
13
tests/wpt/web-platform-tests/worklets/idlharness.worker.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
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();
|
Loading…
Add table
Add a link
Reference in a new issue