mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Require default dictionary value for optional dicts
This commit is contained in:
parent
56f31c85ef
commit
01151274f1
71 changed files with 105 additions and 98 deletions
|
@ -5,7 +5,7 @@
|
|||
// https://drafts.css-houdini.org/worklets/#worklet
|
||||
[Pref="dom.worklet.enabled", Exposed=(Window)]
|
||||
interface Worklet {
|
||||
[NewObject] Promise<void> addModule(USVString moduleURL, optional WorkletOptions options);
|
||||
[NewObject] Promise<void> addModule(USVString moduleURL, optional WorkletOptions options = {});
|
||||
};
|
||||
|
||||
dictionary WorkletOptions {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue