gihankarunarathne / jquery-stream

Automatically exported from code.google.com/p/jquery-stream
0 stars 0 forks source link

Support MozWebSocket #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run echo example under ubuntu linux and firefox 6.0

What is the expected output? What do you see instead?
websocket connection should be established, which is not the case.
running fine on chrome 14.
communication via post-request is possible but with firefox native ws-support 
ws should be used.

What version of the product are you using? On what operating system?
1.2

Please provide any additional information below.
maybe the new protocol version for websockets of firefox might be the reason? 
websockets are enabled under about:config

Original issue reported on code.google.com by menzel...@googlemail.com on 17 Sep 2011 at 1:21

GoogleCodeExporter commented 9 years ago
https://developer.mozilla.org/en/Firefox_6_for_developers#Networking

That's maybe because the WebSocket object is renamed to MozWebSocket. If you 
want to use the MozWebSocket as the WebSocket, inject the following code 
snippet before loading jquery.stream.js. I don't know the exact reason, but the 
MozWebSocket makes firefox crash when running the test suite.

<script type="text/javascript">
if (window.MozWebSocket) {
    window.WebSocket = window.MozWebSocket;
}
</script>

Original comment by flowersi...@gmail.com on 17 Sep 2011 at 2:41

GoogleCodeExporter commented 9 years ago
It would be better to support MozWebSocket in jQuery Stream.

Original comment by flowersi...@gmail.com on 18 Sep 2011 at 3:44

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r181.

Original comment by flowersi...@gmail.com on 18 Sep 2011 at 5:32

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r195.

Original comment by flowersi...@gmail.com on 6 Oct 2011 at 2:14