- From: poot <cvsmail@w3.org>
- Date: Wed, 6 Aug 2008 18:50:13 +0900 (JST)
- To: public-html-diffs@w3.org
typos in the WebSocket section (whatwg r2026) postMessage(data) http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#postmessage 7.4.3 Posting text http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#posting MessagePort http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#messageport0 onmessage http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#onmessage0 onclosed http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#onclosed 5.2.1 Security http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#security3 active http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#active0 7.5.3 Message ports http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#message0 Window http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#window 7.4.1 Introduction http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#introduction5 7.4.4 Posting message ports http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#posting0 CLOSED http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#closed 7.4.2.2. User agents http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#user-agents 7.3.4 The Web Socket protocol http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#the-web postMessage(message, messagePort, targetOrigin) http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#postmessage1 WebSocket http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#websocket0 postMessage(message, targetOrigin) http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#postmessage0 postMessage() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1214.html#postmessage2 http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1213&r2=1.1214&f=h http://html5.org/tools/web-apps-tracker?from=2025&to=2026 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1213 retrieving revision 1.1214 diff -u -d -r1.1213 -r1.1214 --- Overview.html 6 Aug 2008 08:01:21 -0000 1.1213 +++ Overview.html 6 Aug 2008 09:47:08 -0000 1.1214 @@ -31628,8 +31628,8 @@ <a href="#window">Window</a> <a href="#open2" title=dom-open>open</a>(in DOMString url, in DOMString target, in DOMString features, in DOMString replace); // <a href="#cross-document">cross-document messaging</a> - void <a href="#postmessage" title=dom-window-postMessage-2>postMessage</a>(in DOMString message, in DOMString targetOrigin); - void <a href="#postmessage0" title=dom-window-postMessage-3>postMessage</a>(in DOMString message, in <a href="#messageport0">MessagePort</a> messagePort, in DOMString targetOrigin); + void <a href="#postmessage0" title=dom-window-postMessage-2>postMessage</a>(in DOMString message, in DOMString targetOrigin); + void <a href="#postmessage1" title=dom-window-postMessage-3>postMessage</a>(in DOMString message, in <a href="#messageport0">MessagePort</a> messagePort, in DOMString targetOrigin); // <a href="#event4">event handler DOM attributes</a> attribute <span>EventListener</span> <a href="#onabort" title=handler-onabort>onabort</a>; @@ -31702,10 +31702,10 @@ object <li>The <code title=dom-window-postMessage-2><a - href="#postmessage">postMessage()</a></code> method with two arguments + href="#postmessage0">postMessage()</a></code> method with two arguments <li>The <code title=dom-window-postMessage-3><a - href="#postmessage0">postMessage()</a></code> method with three arguments + href="#postmessage1">postMessage()</a></code> method with three arguments <li>The <code title=dom-frames><a href="#frames">frames</a></code> @@ -42692,8 +42692,8 @@ // networking attribute EventListener <a href="#onopen" title=handler-WebSocket-onopen>onopen</a>; attribute EventListener <a href="#onmessage0" title=handler-WebSocket-onmessage>onmessage</a>; - attribute EventListener <span title=handler-WebSocket-onclosed>onclosed</span>; - void <span title=dom-WebSocket-postMessage>postMessage</span>(in DOMString data); + attribute EventListener <a href="#onclosed" title=handler-WebSocket-onclosed>onclosed</a>; + void <a href="#postmessage" title=dom-WebSocket-postMessage>postMessage</a>(in DOMString data); void <a href="#disconnect" title=dom-WebSocket-disconnect>disconnect</a>(); };</pre> @@ -42746,7 +42746,8 @@ title=dom-WebSocket-CONNECTING><a href="#connecting0">CONNECTING</a></code> (0). - <p>The <dfn id=senddata title=dom-WebSocket-send><code>send(<var + <p>The <dfn id=postmessage + title=dom-WebSocket-postMessage><code>postMessage(<var title="">data</var>)</code></dfn> method transmits data using the connection. If the connection is not established (<code title=dom-WebSocket-readyState><a @@ -42817,13 +42818,14 @@ href="#message2">message</a></code> event is targeted at or bubbles through the <code><a href="#websocket0">WebSocket</a></code> object. - <dt><dfn id=onclose - title=handler-WebSocket-onclose><code>onclose</code></dfn> + <dt><dfn id=onclosed + title=handler-WebSocket-onclosed><code>onclosed</code></dfn> <dd> - <p>Must be invoked whenever an <code title=event-WebSocket-close><a - href="#close1">close</a></code> event is targeted at or bubbles through - the <code><a href="#websocket0">WebSocket</a></code> object. + <p>Must be invoked whenever an <code + title=event-WebSocket-closed>closed</code> event is targeted at or + bubbles through the <code><a href="#websocket0">WebSocket</a></code> + object. </dl> <h4 id=the-web><span class=secno>7.3.4 </span>The Web Socket protocol</h4> @@ -43535,7 +43537,7 @@ <p>For example, if document A contains an <code><a href="#iframe">iframe</a></code> element that contains document B, and script in document A calls <code title=dom-window-postMessage-2><a - href="#postmessage">postMessage()</a></code> on the <code><a + href="#postmessage0">postMessage()</a></code> on the <code><a href="#window">Window</a></code> object of document B, then a message event will be fired on that object, marked as originating from the <code><a href="#window">Window</a></code> of document A. The script in @@ -43599,7 +43601,7 @@ <h4 id=posting><span class=secno>7.4.3 </span>Posting text</h4> - <p>When a script invokes the <dfn id=postmessage + <p>When a script invokes the <dfn id=postmessage0 title=dom-window-postMessage-2><code>postMessage(<var title="">message</var>, <var title="">targetOrigin</var>)</code></dfn> method (with only two arguments) on a <code><a @@ -43616,7 +43618,7 @@ <li> <p>Return from the <code title=dom-window-postMessage-2><a - href="#postmessage">postMessage()</a></code> method, but asynchronously + href="#postmessage0">postMessage()</a></code> method, but asynchronously continue running these steps.</p> <li> @@ -43645,7 +43647,7 @@ attribute must be set to the value passed as the <var title="">message</var> argument to the <code title=dom-window-postMessage-2><a - href="#postmessage">postMessage()</a></code> method, the <code + href="#postmessage0">postMessage()</a></code> method, the <code title=dom-MessageEvent-origin><a href="#origin1">origin</a></code> attribute must be set to the <a href="#unicode" title="Unicode serialization of an origin">Unicode serialization</a> of the <a @@ -43671,7 +43673,7 @@ <h4 id=posting0><span class=secno>7.4.4 </span>Posting message ports</h4> - <p>When a script invokes the <dfn id=postmessage0 + <p>When a script invokes the <dfn id=postmessage1 title=dom-window-postMessage-3><code>postMessage(<var title="">message</var>, <var title="">messagePort</var>, <var title="">targetOrigin</var>)</code></dfn> method (with three arguments) on @@ -43690,7 +43692,7 @@ <li> <!-- NEW STEP --> <p>If the <var title="">messagePort</var> argument is null, then act as - if the method had just been <a href="#postmessage" + if the method had just been <a href="#postmessage0" title=dom-window-postMessage-2>called with two arguments</a>, <var title="">message</var> and <var title="">targetOrigin</var>.</p> @@ -43703,7 +43705,7 @@ <li> <p>Return from the <code title=dom-window-postMessage-3><a - href="#postmessage0">postMessage()</a></code> method, but asynchronously + href="#postmessage1">postMessage()</a></code> method, but asynchronously continue running these steps.</p> <li> @@ -43732,7 +43734,7 @@ attribute must be set to the value passed as the <var title="">message</var> argument to the <code title=dom-window-postMessage-3><a - href="#postmessage0">postMessage()</a></code> method, the <code + href="#postmessage1">postMessage()</a></code> method, the <code title=dom-MessageEvent-origin><a href="#origin1">origin</a></code> attribute must be set to the <a href="#unicode" title="Unicode serialization of an origin">Unicode serialization</a> of the <a @@ -43841,8 +43843,8 @@ <pre class=idl>interface <dfn id=messageport0>MessagePort</dfn> { readonly attribute boolean <a href="#active0" title=dom-MessagePort-active>active</a>; - boolean <a href="#postmessage1" title=dom-MessagePort-postMessage>postMessage</a>(in DOMString message); - boolean <a href="#postmessage1" title=dom-MessagePort-postMessage>postMessage</a>(in DOMString message, in <a href="#messageport0">MessagePort</a> messagePort); + boolean <a href="#postmessage2" title=dom-MessagePort-postMessage>postMessage</a>(in DOMString message); + boolean <a href="#postmessage2" title=dom-MessagePort-postMessage>postMessage</a>(in DOMString message, in <a href="#messageport0">MessagePort</a> messagePort); void <span title=dom-MessagePort-start>start</span>(); void <a href="#close3" title=dom-MessagePort-close>close</a>(); @@ -43937,7 +43939,7 @@ <hr> - <p>The <dfn id=postmessage1 + <p>The <dfn id=postmessage2 title=dom-MessagePort-postMessage><code>postMessage()</code></dfn> method, when called on a port <var title="">source port</var>, must cause the user agent to run the following steps:
Received on Wednesday, 6 August 2008 09:50:55 UTC