Placed worklets implementation behind a pref.

This commit is contained in:
Alan Jeffrey 2017-07-17 17:04:20 -05:00
parent 7f1278a329
commit a3fe0b72d5
13 changed files with 12 additions and 11 deletions

View file

@ -206,5 +206,5 @@ partial interface Window {
// https://drafts.css-houdini.org/css-paint-api-1/#paint-worklet
partial interface Window {
[SameObject] readonly attribute Worklet paintWorklet;
[SameObject, Pref="dom.worklet.enabled"] readonly attribute Worklet paintWorklet;
};