Bug 1264479: added [current|pending][Local|Remote]Description to WebIDL. r?smaug draft
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Fri, 30 Jun 2017 01:18:46 -0700
changeset 605034 33d50b73653a4db0e22cfc3a8f31cbc05bc561e2
parent 604915 e23f55311ecb5e0cd14c5010d1b40663b3a2e7d0
child 605035 5281f582cdc9f3a5e7d39fe920d234147b9bd188
child 605496 13886b1b8470a5e2e18ecb0b0f756f5ab8fc6629
push id67277
push userdrno@ohlmeier.org
push dateThu, 06 Jul 2017 22:47:19 +0000
reviewerssmaug
bugs1264479
milestone56.0a1
Bug 1264479: added [current|pending][Local|Remote]Description to WebIDL. r?smaug MozReview-Commit-ID: JwRyKtZMKzl
dom/webidl/PeerConnectionImpl.webidl
--- a/dom/webidl/PeerConnectionImpl.webidl
+++ b/dom/webidl/PeerConnectionImpl.webidl
@@ -84,17 +84,21 @@ interface PeerConnectionImpl  {
   /* This provides the implementation with the certificate it uses to
    * authenticate itself.  The JS side must set this before calling
    * createOffer/createAnswer or retrieving the value of fingerprint.  This has
    * to be delayed because generating the certificate takes some time. */
   attribute RTCCertificate certificate;
   [Constant]
   readonly attribute DOMString fingerprint;
   readonly attribute DOMString localDescription;
+  readonly attribute DOMString currentLocalDescription;
+  readonly attribute DOMString pendingLocalDescription;
   readonly attribute DOMString remoteDescription;
+  readonly attribute DOMString currentRemoteDescription;
+  readonly attribute DOMString pendingRemoteDescription;
 
   readonly attribute PCImplIceConnectionState iceConnectionState;
   readonly attribute PCImplIceGatheringState iceGatheringState;
   readonly attribute PCImplSignalingState signalingState;
   attribute DOMString id;
 
   attribute DOMString peerIdentity;
   readonly attribute boolean privacyRequested;