Opened 9 years ago

Closed 9 years ago

#12621 closed defect (fixed)

WebSocket problems on Firefox

Reported by: Douglas Hays Owned by: Kris Zyp
Priority: high Milestone: 1.6.1
Component: Dojox Version: 1.6.0
Keywords: Cc:
Blocked By: Blocking:

Description

The fire method calls event.initEvent(type) but initEvent needs 2 additional boolean parameters (cancellable, bubbles) on Firefox (apparently optional on WebKit?). Also, the documentation says to do this: dojo.connect(socket,"onmessage",function(event){blah}) but there is no onmessage method in the socket returned from LongPoll?. Probably should have a default empty methods for onmessage, onopen, onclose.

Change History (4)

comment:1 Changed 9 years ago by Kris Zyp

Resolution: fixed
Status: newclosed

(In [24221]) Call initEvent properly, fixes #12621 !strict

comment:2 Changed 9 years ago by Kris Zyp

Should this go in 1.6.1?

comment:3 Changed 9 years ago by Adam Peller

Milestone: 1.71.6.1
Resolution: fixed
Status: closedreopened

sure, whynot?

comment:4 Changed 9 years ago by Adam Peller

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.