mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Hide interfaces behind webrtc pref
This commit is contained in:
parent
a4f1bc2efc
commit
27f439a71c
5 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -13952,7 +13952,7 @@
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"interfaces.html": [
|
"interfaces.html": [
|
||||||
"0776b2873c16cd34bdc85c23f44030729eaae524",
|
"145c902ff033ba1de46b41dec07992fae4fd2f13",
|
||||||
[
|
[
|
||||||
null,
|
null,
|
||||||
{}
|
{}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue