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-rtcdatachannel // https://w3c.github.io/webrtc-pc/#dom-rtcdatachannel
[Exposed=Window] [Exposed=Window, Pref="dom.webrtc.enabled"]
interface RTCDataChannel : EventTarget { interface RTCDataChannel : EventTarget {
readonly attribute USVString label; readonly attribute USVString label;
readonly attribute boolean ordered; readonly attribute boolean ordered;

View file

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

View file

@ -4,7 +4,7 @@
// https://w3c.github.io/webrtc-pc/#dom-rtcerror // https://w3c.github.io/webrtc-pc/#dom-rtcerror
[Exposed=Window] [Exposed=Window, Pref="dom.webrtc.enabled"]
interface RTCError : DOMException { interface RTCError : DOMException {
constructor(RTCErrorInit init, optional DOMString message = ""); constructor(RTCErrorInit init, optional DOMString message = "");
readonly attribute RTCErrorDetailType errorDetail; readonly attribute RTCErrorDetailType errorDetail;

View file

@ -4,7 +4,7 @@
// https://w3c.github.io/webrtc-pc/#dom-rtcerrorevent // https://w3c.github.io/webrtc-pc/#dom-rtcerrorevent
[Exposed=Window] [Exposed=Window, Pref="dom.webrtc.enabled"]
interface RTCErrorEvent : Event { interface RTCErrorEvent : Event {
constructor(DOMString type, RTCErrorEventInit eventInitDict); constructor(DOMString type, RTCErrorEventInit eventInitDict);
[SameObject] readonly attribute RTCError error; [SameObject] readonly attribute RTCError error;

View file

@ -13952,7 +13952,7 @@
] ]
], ],
"interfaces.html": [ "interfaces.html": [
"0776b2873c16cd34bdc85c23f44030729eaae524", "145c902ff033ba1de46b41dec07992fae4fd2f13",
[ [
null, null,
{} {}