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

@ -5,6 +5,6 @@
// https://drafts.css-houdini.org/worklets/#workletglobalscope
// TODO: The spec IDL doesn't make this a subclass of EventTarget
// https://github.com/whatwg/html/issues/2611
[Exposed=Worklet]
[Pref="dom.worklet.enabled", Exposed=Worklet]
interface WorkletGlobalScope: GlobalScope {
};