[tor-commits] [pluggable-transports/snowflake-webext] 14/15: refactor: remove `dbg()` from onMessage

gitolite role git at cupani.torproject.org
Wed Nov 9 14:41:03 UTC 2022


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 57d6ce54e8de45850c8a1a9ca64d030db5d2a685
Author: WofWca <wofwca at protonmail.com>
AuthorDate: Mon Nov 7 18:32:15 2022 +0400

    refactor: remove `dbg()` from onMessage
    
    There's too many of such messages.
    Messages can be viewed on the "Network" tab of devtools as well
---
 proxypair.js | 2 --
 1 file changed, 2 deletions(-)

diff --git a/proxypair.js b/proxypair.js
index 15d6ea7..ecbaf88 100644
--- a/proxypair.js
+++ b/proxypair.js
@@ -210,7 +210,6 @@ class ProxyPair {
    * @private
    */
   onClientToRelayMessage(msg) {
-    dbg('WebRTC --> websocket data: ' + msg.data.byteLength + ' bytes');
     this.c2rSchedule.push(msg.data);
     this.flush();
 
@@ -223,7 +222,6 @@ class ProxyPair {
    * @private
    */
   onRelayToClientMessage(event) {
-    dbg('websocket --> WebRTC data: ' + event.data.byteLength + ' bytes');
     this.r2cSchedule.push(event.data);
     this.flush();
   }

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


More information about the tor-commits mailing list