Bug 942367 - Part 1: WebIDL changes for peerIdentity constraint. r=jib
☠☠ backed out by c2094871202f ☠ ☠
authorMartin Thomson <martin.thomson@gmail.com>
Tue, 08 Apr 2014 10:39:48 -0700
changeset 197695 7cc66aee4341db6523eeee2b10f6fa9e58a30ca6
parent 197694 d32e6e5c56177e430ad79c4b8f4bde821bcbf30b
child 197696 7d2138e87ca0d7617333a18137819b5ad6480855
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjib
bugs942367
milestone31.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 942367 - Part 1: WebIDL changes for peerIdentity constraint. r=jib
dom/webidl/MediaStream.webidl
dom/webidl/PeerConnectionImpl.webidl
dom/webidl/RTCConfiguration.webidl
--- a/dom/webidl/MediaStream.webidl
+++ b/dom/webidl/MediaStream.webidl
@@ -13,23 +13,25 @@
 // These dictionaries need to be in a separate file from their
 // MediaTrackConstraints* counterparts due to a webidl compiler limitation.
 
 dictionary MediaStreamConstraints {
     (boolean or MediaTrackConstraints) audio = false;
     (boolean or MediaTrackConstraints) video = false;
     boolean picture = false;
     boolean fake = false;
+    DOMString? peerIdentity = null;
 };
 
 dictionary MediaStreamConstraintsInternal {
     (boolean or MediaTrackConstraintsInternal) audio;
     (boolean or MediaTrackConstraintsInternal) video;
     boolean picture = false;
     boolean fake = false;
+    DOMString? peerIdentity = null;
 };
 
 interface MediaStream {
     // readonly attribute DOMString    id;
     sequence<AudioStreamTrack> getAudioTracks ();
     sequence<VideoStreamTrack> getVideoTracks ();
     // MediaStreamTrack           getTrackById (DOMString trackId);
     // void                       addTrack (MediaStreamTrack track);
--- a/dom/webidl/PeerConnectionImpl.webidl
+++ b/dom/webidl/PeerConnectionImpl.webidl
@@ -67,16 +67,19 @@ interface PeerConnectionImpl  {
   readonly attribute DOMString remoteDescription;
 
   readonly attribute PCImplIceConnectionState iceConnectionState;
   readonly attribute PCImplIceGatheringState iceGatheringState;
   readonly attribute PCImplReadyState readyState;
   readonly attribute PCImplSignalingState signalingState;
   readonly attribute PCImplSipccState sipccState;
 
+  attribute DOMString peerIdentity;
+  readonly attribute boolean privacyRequested;
+
   /* Data channels */
   [Throws]
   DataChannel createDataChannel(DOMString label, DOMString protocol,
     unsigned short type, boolean outOfOrderAllowed,
     unsigned short maxTime, unsigned short maxNum,
     boolean externalNegotiated, unsigned short stream);
   [Throws]
   void connectDataConnection(unsigned short localport,
--- a/dom/webidl/RTCConfiguration.webidl
+++ b/dom/webidl/RTCConfiguration.webidl
@@ -10,9 +10,10 @@
 dictionary RTCIceServer {
     DOMString  url;
     DOMString? credential = null;
     DOMString? username = null;
 };
 
 dictionary RTCConfiguration {
     sequence<RTCIceServer> iceServers;
+    DOMString? peerIdentity = null;
 };