- From: <bugzilla@jessica.w3.org>
- Date: Wed, 08 Jun 2011 17:24:57 +0000
- To: public-webapps@w3.org
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 UTC