Skip to content

Commit

Permalink
[] (0) Change 'unload' to 'close' for MessagePorts.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2116 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 26, 2008
1 parent f6a42ea commit de16e2f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
19 changes: 9 additions & 10 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -17006,7 +17006,7 @@ of various sizes."></strong></pre>
<p class=note>Such cases are to be kept to an absolute minimum. If there
is even the slightest possibility of the author having the ability to
provide real alternative text, then it would not be acceptable to omit
the code title="attr-img-alt">alt attribute.</p>
the <code title=attr-img-alt><a href="#alt0">alt</a></code> attribute.</p>

<div class=example>
<p>A photo on a photo-sharing site, if the site received the image with
Expand Down Expand Up @@ -44867,7 +44867,7 @@ interface <dfn id=messagechannel>MessageChannel</dfn> {

// event handler attributes
attribute <span>EventListener</span> <a href="#onmessage1" title=handler-MessagePort-onmessage>onmessage</a>;
attribute <span>EventListener</span> <a href="#onunload0" title=handler-MessagePort-onunload>onunload</a>;
attribute <span>EventListener</span> <a href="#onclose" title=handler-MessagePort-onclose>onclose</a>;
};</pre>

<p>Objects implementing the <code><a
Expand Down Expand Up @@ -45146,13 +45146,12 @@ interface <dfn id=messagechannel>MessageChannel</dfn> {

<li>
<p><a href="#queue">Queue a task</a> to <a href="#firing2">fire a simple
event</a> called <code title=event-unload>unload</code> at the port on
event</a> called <code title=event-close>close</code> at the port on
which the method was called.

<li>
<p><a href="#queue">Queue a task</a> to <a href="#firing2">fire a simple
event</a> called <code title=event-unload>unload</code> at the other
port.
event</a> called <code title=event-close>close</code> at the other port.
</ol>

<p>The <a href="#task-source">task source</a> for the two <a href="#tasks"
Expand Down Expand Up @@ -45185,12 +45184,12 @@ interface <dfn id=messagechannel>MessageChannel</dfn> {
<code title=dom-MessagePort-start><a href="#start6">start()</a></code>
method had been called.</p>

<dt><dfn id=onunload0
title=handler-MessagePort-onunload><code>onunload</code></dfn>
<dt><dfn id=onclose
title=handler-MessagePort-onclose><code>onclose</code></dfn>

<dd>
<p>Must be invoked whenever an <code title=event-unload>unload</code>
event is targeted at or bubbles through the <code><a
<p>Must be invoked whenever an <code title=event-close>close</code> event
is targeted at or bubbles through the <code><a
href="#messageport0">MessagePort</a></code> object.
</dl>

Expand Down Expand Up @@ -45229,7 +45228,7 @@ interface <dfn id=messagechannel>MessageChannel</dfn> {

<li>
<p><a href="#queue">Queue a task</a> to <a href="#firing2">fire a simple
event</a> called <code title=event-unload>unload</code> at <var
event</a> called <code title=event-close>close</code> at <var
title="">surviving port</var>. The <a href="#task-source">task
source</a> for this <a href="#tasks" title=concept-task>task</a> is the
<a href="#posted">posted message task source</a>.
Expand Down
14 changes: 7 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -14561,7 +14561,7 @@ of various sizes."></strong></pre>
<p class="note">Such cases are to be kept to an absolute
minimum. If there is even the slightest possibility of the author
having the ability to provide real alternative text, then it would
not be acceptable to omit the code title="attr-img-alt">alt</code>
not be acceptable to omit the <code title="attr-img-alt">alt</code>
attribute.</p>

<div class="example">
Expand Down Expand Up @@ -42314,7 +42314,7 @@ interface <dfn>MessageChannel</dfn> {

// event handler attributes
attribute <span>EventListener</span> <span title="handler-MessagePort-onmessage">onmessage</span>;
attribute <span>EventListener</span> <span title="handler-MessagePort-onunload">onunload</span>;
attribute <span>EventListener</span> <span title="handler-MessagePort-onclose">onclose</span>;
};</pre>

<p>Objects implementing the <code>MessagePort</code> interface must
Expand Down Expand Up @@ -42575,11 +42575,11 @@ interface <dfn>MessageChannel</dfn> {
<li><p>Unentangle the two ports.</p></li>

<li><p><span>Queue a task</span> to <span>fire a simple
event</span> called <code title="event-unload">unload</code> at the
event</span> called <code title="event-close">close</code> at the
port on which the method was called.</p></li>

<li><p><span>Queue a task</span> to <span>fire a simple
event</span> called <code title="event-unload">unload</code> at the
event</span> called <code title="event-close">close</code> at the
other port.</p></li>

</ol>
Expand Down Expand Up @@ -42615,10 +42615,10 @@ interface <dfn>MessageChannel</dfn> {

</dd>

<dt><dfn title="handler-MessagePort-onunload"><code>onunload</code></dfn></dt>
<dt><dfn title="handler-MessagePort-onclose"><code>onclose</code></dfn></dt>

<dd><p>Must be invoked whenever an <code
title="event-unload">unload</code> event is targeted at or bubbles
title="event-close">close</code> event is targeted at or bubbles
through the <code>MessagePort</code> object.</p></dd>

</dl>
Expand Down Expand Up @@ -42652,7 +42652,7 @@ interface <dfn>MessageChannel</dfn> {
<li><p>Unentangle the two ports.</p></li>

<li><p><span>Queue a task</span> to <span>fire a simple
event</span> called <code title="event-unload">unload</code> at
event</span> called <code title="event-close">close</code> at
<var title="">surviving port</var>. The <span>task source</span>
for this <span title="concept-task">task</span> is the <span>posted
message task source</span>.</p></li>
Expand Down

0 comments on commit de16e2f

Please sign in to comment.