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: i...@hixie.ch ReportedBy: adria...@microsoft.com QAContact: member-webapi-...@w3.org CC: m...@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.