https://gist.github.com/1310463/344d83a8bb9a325a4c28a477c1bb8624303539c7
– Micheil
I just tried this, and it doesn't remove the error for me in Chrome
Canary 17.0.918.0.
See: https://gist.github.com/1310463/87b9cc4814a3408526b0124be7472837f2f20faa
Do you have some example code if this works for you?
Regards,
Micheil Smith
--
Pusher.com
> --
> You received this message because you are subscribed to the Google Groups "Chromium HTML5" group.
> To post to this group, send email to chromiu...@chromium.org.
> To unsubscribe from this group, send email to chromium-html...@chromium.org.
> For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-html5/?hl=en.
>
Hi all,
I've noticed that in most recent Chrome releases (dev and main
channel), if you close a websocket connection before it has handshaked
then you get an error in the javascript console which cannot be caught
by any means.
(snip)
I would expect that I would be able to catch and prevent this error
some how, or that it should be logged as a 'warning' type, instead of
an 'error' type.
So, in this case, I think it makes sense to convert this message to a warning (I don't want to remove the message though). I'm going to work on fixing this.
--
Regards,
Micheil Smith
--
Pusher.com