mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
dom: Use pref macro for IDL conditional guards.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user