mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
Update Worklet IDL to latest version from gecko (#1817)
This commit is contained in:
parent
c7514b7ee8
commit
a31b81307c
@ -7,8 +7,13 @@
|
||||
* https://drafts.css-houdini.org/worklets/#idl-index
|
||||
*/
|
||||
|
||||
[Pref="dom.worklet.enabled"]
|
||||
[Pref="dom.worklet.enabled",
|
||||
Exposed=Window]
|
||||
interface Worklet {
|
||||
[NewObject, Throws, NeedsCallerType]
|
||||
Promise<void> import(USVString moduleURL);
|
||||
Promise<void> addModule(USVString moduleURL, optional WorkletOptions options = {});
|
||||
};
|
||||
|
||||
dictionary WorkletOptions {
|
||||
RequestCredentials credentials = "same-origin";
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user