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

2011-06-10 Thread Adrian Bateman
On Friday, June 10, 2011 7:05 AM, Arthur Barstow wrote:
> Adrian - this bug is for the Web Sockets API spec (and not Web Storage), 
> correct?
>
> On Jun/8/2011 1:21 PM, ext bugzi...@jessica.w3.org wrote:
> > http://www.w3.org/Bugs/Public/show_bug.cgi?id=12913

Yes - corrected now, thanks!




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

2011-06-10 Thread Arthur Barstow
Adrian - this bug is for the Web Sockets API spec (and not Web Storage), 
correct?


On Jun/8/2011 1:21 PM, ext bugzi...@jessica.w3.org wrote:

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





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

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