Bug 1264479: added current and pending descriptions to PeerConnection.webidl. r?smaug draft
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Wed, 30 Aug 2017 14:29:28 -0700
changeset 656222 a4be6a3de61a1755e3d59f8ca8417dfe5626c9c5
parent 655774 ab2d700fda2b4934d24227216972dce9fac19b74
child 656223 8bee7ca065955ea2fc953dff654e01e0b4a11ad3
child 657178 663c1e3460b5fa1e292d35fb21079ba204e90a90
push id77120
push userdrno@ohlmeier.org
push dateWed, 30 Aug 2017 21:37:16 +0000
reviewerssmaug
bugs1264479
milestone57.0a1
Bug 1264479: added current and pending descriptions to PeerConnection.webidl. r?smaug MozReview-Commit-ID: 3Ud3pUP1GUh
dom/webidl/RTCPeerConnection.webidl
--- a/dom/webidl/RTCPeerConnection.webidl
+++ b/dom/webidl/RTCPeerConnection.webidl
@@ -77,17 +77,21 @@ interface RTCPeerConnection : EventTarge
                             optional DOMString username);
   [Pref="media.peerconnection.identity.enabled"]
   Promise<DOMString> getIdentityAssertion();
   Promise<RTCSessionDescriptionInit> createOffer (optional RTCOfferOptions options);
   Promise<RTCSessionDescriptionInit> createAnswer (optional RTCAnswerOptions options);
   Promise<void> setLocalDescription (RTCSessionDescriptionInit description);
   Promise<void> setRemoteDescription (RTCSessionDescriptionInit description);
   readonly attribute RTCSessionDescription? localDescription;
+  readonly attribute RTCSessionDescription? currentLocalDescription;
+  readonly attribute RTCSessionDescription? pendingLocalDescription;
   readonly attribute RTCSessionDescription? remoteDescription;
+  readonly attribute RTCSessionDescription? currentRemoteDescription;
+  readonly attribute RTCSessionDescription? pendingRemoteDescription;
   readonly attribute RTCSignalingState signalingState;
   Promise<void> addIceCandidate ((RTCIceCandidateInit or RTCIceCandidate)? candidate);
   readonly attribute boolean? canTrickleIceCandidates;
   readonly attribute RTCIceGatheringState iceGatheringState;
   readonly attribute RTCIceConnectionState iceConnectionState;
   [Pref="media.peerconnection.identity.enabled"]
   readonly attribute Promise<RTCIdentityAssertion> peerIdentity;
   [Pref="media.peerconnection.identity.enabled"]