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

[Bug 12913] New: Close() should throw the same exception as send() for unpaired surrogates

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

           Summary: Close() should throw the same exception as send() for
                    unpaired surrogates
           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: Web Storage (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: adrianba@microsoft.com
         QAContact: member-webapi-cvs@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-webapps@w3.org


In the send() method, the spec [1] says: "If the data argument has any unpaired
surrogates, then raise an SYNTAX_ERR exception."

This should also apply to the close() method for the reason string [2].

[1] http://dev.w3.org/html5/websockets/#dom-websocket-send
[2] http://dev.w3.org/html5/websockets/#dom-websocket-close

-- 
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:21:17 GMT

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