Skip to content

Commit

Permalink
[e] (0) Split the pipe section up
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1870 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 12, 2008
1 parent 4d71c9d commit 01b061f
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 28 deletions.
44 changes: 30 additions & 14 deletions index
Expand Up @@ -1617,6 +1617,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>
Expand Down Expand Up @@ -42271,22 +42279,18 @@ function receiver(e) {
<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>
Expand Down Expand Up @@ -42328,15 +42332,27 @@ interface <dfn id=pipeend0>PipeEnd</dfn> {
<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
href="#window">Window</a></code> object <var title="">owner</var>, it
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>
Expand Down
43 changes: 29 additions & 14 deletions source
Expand Up @@ -39968,21 +39968,19 @@ function receiver(e) {

<h3><dfn>Pipe messaging</dfn></h3>

<h4>Introduction</h4>

<p><em>This section is non-normative.</em></p>

<p class="big-issue">An introduction to the pipe APIs.</p>



<h4>Pipes</h4>

<pre class="idl">[<span title="dom-Pipe">Constructor</span>] interface <dfn>Pipe</dfn> {
readonly attribute <span>PipeEnd</span> <span title="dom-pipe-end1">end1</span>;
readonly attribute <span>PipeEnd</span> <span title="dom-pipe-end2">end2</span>;
};

interface <dfn>PipeEnd</dfn> {
readonly attribute <span>Window</span> <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 <span>PipeEnd</span> 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 title="dom-Pipe"><code>Pipe()</code></dfn>
Expand Down Expand Up @@ -40020,14 +40018,31 @@ interface <dfn>PipeEnd</dfn> {
title="dom-pipe-end1"><code>end1</code></dfn> <dfn
title="dom-pipe-end2"><code>end2</code></dfn></p>

<hr>



<h4>Pipe ends</h4>

<pre class="idl">interface <dfn>PipeEnd</dfn> {
readonly attribute <span>Window</span> <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 <span>PipeEnd</span> 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>create a new
<code>PipeEnd</code> object</dfn> owned by a <code>Window</code>
object <var title="">owner</var>, it must...</p>

<p class="big-issue">When the user agent is to <dfn>entangle</dfn>
teo <code>PipeEnd</code> objects, it must...</p>
two <code>PipeEnd</code> objects, it must...</p>




<h2 id="syntax">The HTML syntax</h2>
Expand Down

0 comments on commit 01b061f

Please sign in to comment.