[html5] r6159 - [giow] (0) websocket: Make the types of the arguments and attributes for the clo [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue May 31 13:02:00 PDT 2011


Author: ianh
Date: 2011-05-31 13:01:59 -0700 (Tue, 31 May 2011)
New Revision: 6159

Modified:
   complete.html
   source
Log:
[giow] (0) websocket: Make the types of the arguments and attributes for the close frame API bits consistent with each other

Modified: complete.html
===================================================================
--- complete.html	2011-05-31 19:58:25 UTC (rev 6158)
+++ complete.html	2011-05-31 20:01:59 UTC (rev 6159)
@@ -78878,7 +78878,7 @@
 <!--           attribute <span>Function</span> <span title="handler-WebSocket-onerror">onerror</span>;
 -->           attribute <a href=#function>Function</a> <a href=#handler-websocket-onclose title=handler-WebSocket-onclose>onclose</a>;
   readonly attribute DOMString <a href=#dom-websocket-protocol title=dom-WebSocket-protocol>protocol</a>;
-  void <a href=#dom-websocket-close title=dom-WebSocket-close>close</a>(in optional unsigned short code, in optional DOMString reason);
+  void <a href=#dom-websocket-close title=dom-WebSocket-close>close</a>(in optional unsigned long code, in optional DOMString reason);
 
   // messaging
            attribute <a href=#function>Function</a> <a href=#handler-websocket-onmessage title=handler-WebSocket-onmessage>onmessage</a>;
@@ -79363,7 +79363,7 @@
   readonly attribute boolean <a href=#dom-closeevent-wasclean title=dom-CloseEvent-wasClean>wasClean</a>;
   readonly attribute unsigned long <span title=dom-WebSocket-code>code</span>;
   readonly attribute DOMString <span title=dom-WebSocket-reason>reason</span>;
-  void <a href=#dom-closeevent-initcloseevent title=dom-CloseEvent-initCloseEvent>initCloseEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in boolean wasCleanArg, in unsigned long codeArg, in unsigned long reasonArg);
+  void <a href=#dom-closeevent-initcloseevent title=dom-CloseEvent-initCloseEvent>initCloseEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in boolean wasCleanArg, in unsigned long codeArg, in DOMString reasonArg);
 };</pre>
 
   <p>The <dfn id=dom-closeevent-initcloseevent title=dom-CloseEvent-initCloseEvent><code>initCloseEvent()</code></dfn>

Modified: source
===================================================================
--- source	2011-05-31 19:58:25 UTC (rev 6158)
+++ source	2011-05-31 20:01:59 UTC (rev 6159)
@@ -89528,7 +89528,7 @@
 <!--           attribute <span>Function</span> <span title="handler-WebSocket-onerror">onerror</span>;
 -->           attribute <span>Function</span> <span title="handler-WebSocket-onclose">onclose</span>;
   readonly attribute DOMString <span title="dom-WebSocket-protocol">protocol</span>;
-  void <span title="dom-WebSocket-close">close</span>(in optional unsigned short code, in optional DOMString reason);
+  void <span title="dom-WebSocket-close">close</span>(in optional unsigned long code, in optional DOMString reason);
 
   // messaging
            attribute <span>Function</span> <span title="handler-WebSocket-onmessage">onmessage</span>;
@@ -90141,7 +90141,7 @@
   readonly attribute boolean <span title="dom-CloseEvent-wasClean">wasClean</span>;
   readonly attribute unsigned long <span title="dom-WebSocket-code">code</span>;
   readonly attribute DOMString <span title="dom-WebSocket-reason">reason</span>;
-  void <span title="dom-CloseEvent-initCloseEvent">initCloseEvent</span>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in boolean wasCleanArg, in unsigned long codeArg, in unsigned long reasonArg);
+  void <span title="dom-CloseEvent-initCloseEvent">initCloseEvent</span>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in boolean wasCleanArg, in unsigned long codeArg, in DOMString reasonArg);
 };</pre>
 
   <p>The <dfn




More information about the Commit-Watchers mailing list