[Bug 16703] I am suggesting a default value for the "code" argument to the close method. I am currently experimenting with this method and noticed that Chrome and Firefox seem to use different default values. If I do not specify a code, Chrome appears to use 1005 (

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16703

Jason Duell <jduell.mcbugs@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jduell.mcbugs@gmail.com

--- Comment #9 from Jason Duell <jduell.mcbugs@gmail.com> 2012-04-27 23:51:35 UTC ---
So my read of the situation is that Takashi is right, and Firefox should send
no close code (which servers can logically interpret as 1005) if the client
closes the websocket with no close code passed.  I'm currently implementing
this in 

   https://bugzilla.mozilla.org/show_bug.cgi?id=748580

If that's wrong and Chrome should change instead, let me know.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 27 April 2012 23:51:38 UTC