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

[Bug 12914] New: close() should throw SYNTAX_ERR if the encoded reason string is too long (protocol supports up to 123 UTF-8 bytes)

From: <bugzilla@jessica.w3.org>
Date: Wed, 08 Jun 2011 17:24:57 +0000
To: public-webapps@w3.org
Message-ID: <bug-12914-2927@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12914

           Summary: close() should throw SYNTAX_ERR if the encoded reason
                    string is too long (protocol supports up to 123 UTF-8
                    bytes)
           Product: WebAppsWG
           Version: unspecified
          Platform: All
               URL: http://dev.w3.org/html5/websockets/#dom-websocket-clos
                    e
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebSocket API (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: adrianba@microsoft.com
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


The WebSocket protocol only supports reason strings which once encoded as UTF-8
are up to 123 bytes long. The API should specify what to do if the string is
too long once encoded. Our preference is to throw a SYNTAX_ERR.

-- 
Configure bugmail: http://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, 8 June 2011 17:24:58 GMT

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