- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 12 Jul 2008 11:06:10 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv14550 Modified Files: Overview.html Log Message: Split the pipe section up (whatwg r1870) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1058 retrieving revision 1.1059 diff -u -d -r1.1058 -r1.1059 --- Overview.html 12 Jul 2008 11:03:16 -0000 1.1058 +++ Overview.html 12 Jul 2008 11:06:07 -0000 1.1059 @@ -1679,6 +1679,14 @@ <li><a href="#pipe-messaging"><span class=secno>7.5 </span>Pipe messaging</a> + <ul class=toc> + <li><a href="#introduction5"><span class=secno>7.5.1 + </span>Introduction</a> + + <li><a href="#pipes"><span class=secno>7.5.2 </span>Pipes</a> + + <li><a href="#pipe-ends"><span class=secno>7.5.3 </span>Pipe ends</a> + </ul> </ul> <li><a href="#syntax"><span class=secno>8. </span>The HTML syntax</a> @@ -42333,22 +42341,18 @@ <h3 id=pipe-messaging><span class=secno>7.5 </span><dfn id=pipe-messaging0>Pipe messaging</dfn></h3> + <h4 id=introduction5><span class=secno>7.5.1 </span>Introduction</h4> + + <p><em>This section is non-normative.</em> + + <p class=big-issue>An introduction to the pipe APIs. + + <h4 id=pipes><span class=secno>7.5.2 </span>Pipes</h4> + <pre class=idl>[<a href="#pipe0" title=dom-Pipe>Constructor</a>] interface <dfn id=pipe>Pipe</dfn> { readonly attribute <a href="#pipeend0">PipeEnd</a> <a href="#end1" title=dom-pipe-end1>end1</a>; readonly attribute <a href="#pipeend0">PipeEnd</a> <a href="#end2" title=dom-pipe-end2>end2</a>; -}; - -interface <dfn id=pipeend0>PipeEnd</dfn> { - readonly attribute <a href="#window">Window</a> <span title=dom-owner>ownerWindow</span>; - readonly attribute boolean <span title=dom-endpipe>active</span>; - void <span title=dom-pipeend-postMessage>postMessage</span>(in DOMString message); - void <span title=dom-pipeend-postMessage>postMessage</span>(in DOMString message, in <a href="#pipeend0">PipeEnd</a> pipeEnd); - void <span title=dom-pipeend-close>close</span>(); - - // event handler attributes - attribute <span>EventListener</span> <span title=handler-endpipe-onmessage>onmessage</span>; - attribute <span>EventListener</span> <span title=handler-endpipe-onunload>onunload</span>; };</pre> <p>When the <dfn id=pipe0 title=dom-Pipe><code>Pipe()</code></dfn> @@ -42390,7 +42394,19 @@ <p class=big-issue><dfn id=end1 title=dom-pipe-end1><code>end1</code></dfn> <dfn id=end2 title=dom-pipe-end2><code>end2</code></dfn> - <hr> + <h4 id=pipe-ends><span class=secno>7.5.3 </span>Pipe ends</h4> + + <pre class=idl>interface <dfn id=pipeend0>PipeEnd</dfn> { + readonly attribute <a href="#window">Window</a> <span title=dom-owner>ownerWindow</span>; + readonly attribute boolean <span title=dom-endpipe>active</span>; + void <span title=dom-pipeend-postMessage>postMessage</span>(in DOMString message); + void <span title=dom-pipeend-postMessage>postMessage</span>(in DOMString message, in <a href="#pipeend0">PipeEnd</a> pipeEnd); + void <span title=dom-pipeend-close>close</span>(); + + // event handler attributes + attribute <span>EventListener</span> <span title=handler-endpipe-onmessage>onmessage</span>; + attribute <span>EventListener</span> <span title=handler-endpipe-onunload>onunload</span>; +};</pre> <p class=big-issue>When the user agent is to <dfn id=create>create a new <code>PipeEnd</code> object</dfn> owned by a <code><a @@ -42398,7 +42414,7 @@ must... <p class=big-issue>When the user agent is to <dfn - id=entangle>entangle</dfn> teo <code><a + id=entangle>entangle</dfn> two <code><a href="#pipeend0">PipeEnd</a></code> objects, it must... <h2 id=syntax><span class=secno>8. </span>The HTML syntax</h2>
Received on Saturday, 12 July 2008 11:06:44 UTC