Skip to content

Commit

Permalink
[giow] (0) websocket: Make the types of the arguments and attributes …
Browse files Browse the repository at this point in the history
…for the close frame API bits consistent with each other

git-svn-id: http://svn.whatwg.org/webapps@6159 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 31, 2011
1 parent af4b74a commit 3eebe98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions complete.html
Expand Up @@ -78878,7 +78878,7 @@ <h4 id=the-websocket-interface><span class=secno>11.3.2 </span>The <code><a href
<!-- 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>;
Expand Down Expand Up @@ -79363,7 +79363,7 @@ <h5 id=event-definitions-2><span class=secno>11.3.3.1 </span>Event definitions</
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>
Expand Down
4 changes: 2 additions & 2 deletions source
Expand Up @@ -89528,7 +89528,7 @@ interface <dfn>WebSocket</dfn> {
<!-- 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>;
Expand Down Expand Up @@ -90141,7 +90141,7 @@ socket.onopen = function () {
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
Expand Down

0 comments on commit 3eebe98

Please sign in to comment.