aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/StylePropertyMapReadOnly.webidl
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2017-07-17 17:04:20 -0500
committerAlan Jeffrey <ajeffrey@mozilla.com>2017-07-18 09:38:56 -0500
commita3fe0b72d5d5515d0bcdccbfeefdd7a8cad5283a (patch)
tree64fab118d87becae5e9093fb0909a8e6a5b25857 /components/script/dom/webidls/StylePropertyMapReadOnly.webidl
parent7f1278a3297d6d41b7dcf750ef7fb6eabb8a92e5 (diff)
downloadservo-a3fe0b72d5d5515d0bcdccbfeefdd7a8cad5283a.tar.gz
servo-a3fe0b72d5d5515d0bcdccbfeefdd7a8cad5283a.zip
Placed worklets implementation behind a pref.
Diffstat (limited to 'components/script/dom/webidls/StylePropertyMapReadOnly.webidl')
-rw-r--r--components/script/dom/webidls/StylePropertyMapReadOnly.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/StylePropertyMapReadOnly.webidl b/components/script/dom/webidls/StylePropertyMapReadOnly.webidl
index 6ff50ac4be9..7557a0d6071 100644
--- a/components/script/dom/webidls/StylePropertyMapReadOnly.webidl
+++ b/components/script/dom/webidls/StylePropertyMapReadOnly.webidl
@@ -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);