[tor-commits] [pluggable-transports/snowflake-webext] 06/06: Remove an obsolete comment.

gitolite role git at cupani.torproject.org
Fri Mar 31 15:20:57 UTC 2023


This is an automated email from the git hooks/post-receive script.

cohosh pushed a commit to branch main
in repository pluggable-transports/snowflake-webext.

commit 85872223eb9c21f52ae3b488c7cbc0246f9b4932
Author: David Fifield <david at bamsoftware.com>
AuthorDate: Wed Mar 29 12:13:36 2023 -0600

    Remove an obsolete comment.
    
    About RTCPeerConnection.remoteDescription being experimental.
---
 proxypair.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/proxypair.js b/proxypair.js
index 627607f..7957879 100644
--- a/proxypair.js
+++ b/proxypair.js
@@ -159,10 +159,6 @@ class ProxyPair {
     dbg('Connecting to relay...');
     // Get a remote IP address from the PeerConnection, if possible. Add it to
     // the WebSocket URL's query string if available.
-    // MDN marks remoteDescription as "experimental". However the other two
-    // options, currentRemoteDescription and pendingRemoteDescription, which
-    // are not marked experimental, were undefined when I tried them in Firefox
-    // 52.2.0.
     // https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/remoteDescription
     const clientIP = Parse.ipFromSDP(remoteDescription.sdp);
     const relay = this.relay = WS.makeWebSocket(this.relayURL, clientIP);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list