mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Migrate to new constructor operation syntax
This commit is contained in:
parent
9706cd497d
commit
9ce82ea1ae
103 changed files with 659 additions and 413 deletions
|
@ -5,8 +5,9 @@
|
|||
// This interface is entirely internal to Servo, and should not be accessible to
|
||||
// web pages.
|
||||
|
||||
[Pref="dom.worklet.testing.enabled", Exposed=(Window), Constructor]
|
||||
[Pref="dom.worklet.testing.enabled", Exposed=(Window)]
|
||||
interface TestWorklet {
|
||||
[Throws] constructor();
|
||||
[NewObject] Promise<void> addModule(USVString moduleURL, optional WorkletOptions options = {});
|
||||
DOMString? lookup(DOMString key);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue