[flashproxy/js] Disable whenever WebSockets are not supported.

5 Apr
2012
5 Apr
'12
7:11 a.m.
commit fdf3c12ceabdccbcc48e3ebee3724efa3f1fe791 Author: David Fifield <david@bamsoftware.com> Date: Wed Apr 4 23:29:33 2012 -0700 Disable whenever WebSockets are not supported. --- flashproxy.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/flashproxy.js b/flashproxy.js index 235ffbb..07de96b 100644 --- a/flashproxy.js +++ b/flashproxy.js @@ -786,6 +786,10 @@ function flashproxy_should_disable() } } + if (!WebSocket) + /* No WebSocket support. */ + return true; + return false; }
4825
Age (days ago)
4825
Last active (days ago)
0 comments
1 participants
participants (1)
-
dcf@torproject.org