Hide interfaces behind webrtc pref

This commit is contained in:
Fernando Jiménez Moreno 2020-06-30 15:27:56 +02:00
parent a4f1bc2efc
commit 27f439a71c
5 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@
// https://w3c.github.io/webrtc-pc/#dom-rtcdatachannelevent
[Exposed=Window]
[Exposed=Window, Pref="dom.webrtc.enabled"]
interface RTCDataChannelEvent : Event {
constructor(DOMString type, RTCDataChannelEventInit eventInitDict);
readonly attribute RTCDataChannel channel;