dom: Use pref macro for IDL conditional guards.

This commit is contained in:
Josh Matthews 2020-07-09 20:01:01 -04:00
parent 714acb942c
commit aa80f91399
38 changed files with 8 additions and 109 deletions

View file

@ -8,7 +8,7 @@
*/
// https://w3c.github.io/uievents/#idl-compositionevent
[Exposed=Window, Pref="dom.compositionevent.enabled"]
[Exposed=Window, Pref="dom.composition_event.enabled"]
interface CompositionEvent : UIEvent {
[Throws] constructor(DOMString type, optional CompositionEventInit eventInitDict = {});
readonly attribute DOMString data;