mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, Pref="dom.webrtc.enabled"]
|
||||
interface RTCDataChannel : EventTarget {
|
||||
readonly attribute USVString label;
|
||||
readonly attribute boolean ordered;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
// https://w3c.github.io/webrtc-pc/#dom-rtcerror
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, Pref="dom.webrtc.enabled"]
|
||||
interface RTCError : DOMException {
|
||||
constructor(RTCErrorInit init, optional DOMString message = "");
|
||||
readonly attribute RTCErrorDetailType errorDetail;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
// https://w3c.github.io/webrtc-pc/#dom-rtcerrorevent
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, Pref="dom.webrtc.enabled"]
|
||||
interface RTCErrorEvent : Event {
|
||||
constructor(DOMString type, RTCErrorEventInit eventInitDict);
|
||||
[SameObject] readonly attribute RTCError error;
|
||||
|
|
|
@ -13952,7 +13952,7 @@
|
|||
]
|
||||
],
|
||||
"interfaces.html": [
|
||||
"0776b2873c16cd34bdc85c23f44030729eaae524",
|
||||
"145c902ff033ba1de46b41dec07992fae4fd2f13",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue