mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Placed worklets implementation behind a pref.
This commit is contained in:
parent
7f1278a329
commit
a3fe0b72d5
13 changed files with 12 additions and 11 deletions
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://drafts.css-houdini.org/worklets/#worklet
|
||||
[Exposed=(Window)]
|
||||
[Pref="dom.worklet.enabled", Exposed=(Window)]
|
||||
interface Worklet {
|
||||
[NewObject] Promise<void> addModule(USVString moduleURL, optional WorkletOptions options);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue