[tor-commits] [flashproxy/master] Update a comment.

dcf at torproject.org dcf at torproject.org
Sun Apr 15 05:51:38 UTC 2012


commit 328055bd31139ac84f0023520d329487cad60762
Author: David Fifield <david at bamsoftware.com>
Date:   Mon Apr 9 00:46:04 2012 -0700

    Update a comment.
    
    Firefox 11.0 uses the name WebSocket instead of MozWebSocket.
    https://bugzilla.mozilla.org/show_bug.cgi?id=695635
    https://www.mozilla.org/en-US/firefox/11.0/releasenotes/
---
 flashproxy.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/flashproxy.js b/flashproxy.js
index bbadc46..c671724 100644
--- a/flashproxy.js
+++ b/flashproxy.js
@@ -64,8 +64,9 @@ var DEFAULT_RATE_LIMIT = undefined;
 var MIN_RATE_LIMIT = 10 * 1024;
 var RATE_LIMIT_HISTORY = 5.0;
 
-/* Gecko browsers use the name MozWebSocket. Also we can test whether WebSocket
-   is defined to see if WebSockets are supported at all. */
+/* Firefox before version 11.0 uses the name MozWebSocket. Whether the global
+   variable WebSocket is defined indicates whether WebSocket is supported at
+   all. */
 var WebSocket = window.WebSocket || window.MozWebSocket;
 
 var query = parse_query_string(window.location.search.substr(1));





More information about the tor-commits mailing list