]> git.proxmox.com Git - mirror_novnc.git/commit - vnc_auto.html
Opera works! Fix message event drops/reorders.
authorJoel Martin <github@martintribe.org>
Thu, 1 Jul 2010 14:53:38 +0000 (09:53 -0500)
committerJoel Martin <github@martintribe.org>
Thu, 1 Jul 2010 14:53:38 +0000 (09:53 -0500)
commita93c9555389317fa9af7774d22b1417098e0890a
tree56e2295be16bf9dafb5881367c09372118f961bc
parent1eba7b4279494231b379f7855b07c8b72c013339
Opera works! Fix message event drops/reorders.

Instead of relying on FABridge AS -> JS event delivery, we just use
the events to notify JS of pending data. The message handler then
calls the AS readSocketData routine which sends back an array of
the pending WebSocket frames.

There is still a minor bug somewhere that happens after the first
connect where the web-socket-js throws an "INVALID_STATE_ERR: Web
Socket connection has not been established". But, Opera is now usable
and we should be able to drop the packet sequence numbering and
re-ordering code.

Another minor issue to better support Opera is to move JS script
includes to the <head> of the page instead of after the body.
README.md
docs/TODO
include/web-socket-js/flash-src/WebSocket.as
include/web-socket-js/web_socket.js
vnc.html
vnc_auto.html