W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

[Bug 16703] New: 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 (

From: <bugzilla@jessica.w3.org>
Date: Wed, 11 Apr 2012 20:10:49 +0000
To: public-webapps@w3.org
Message-ID: <bug-16703-2927@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16703

           Summary: 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 (
           Product: WebAppsWG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#top
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: WebSocket API (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org


Specification: http://dev.w3.org/html5/websockets/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
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 (CLOSE_NO_STATUS), while Firefox appears to use
1000 (CLOSE_NORMAL).  I tend to agree with using 1005.

Posted from: 67.163.210.178
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like
Gecko) Chrome/18.0.1025.152 Safari/535.19

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 11 April 2012 20:10:52 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:51 GMT