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

@ -4,7 +4,7 @@
// https://drafts.css-houdini.org/css-typed-om-1/#stylepropertymapreadonly
// NOTE: should this be exposed to Window?
[Exposed=(Worklet)]
[Pref="dom.worklet.enabled", Exposed=(Worklet)]
interface StylePropertyMapReadOnly {
CSSStyleValue? get(DOMString property);
// sequence<CSSStyleValue> getAll(DOMString property);