- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 13 Jun 2011 23:39:20 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/postmsg
In directory hutz:/tmp/cvs-serv24262
Modified Files:
Overview.html
Log Message:
Update IDL to recent WebIDL changes, thanks to heycam. (whatwg r6220)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/postmsg/Overview.html,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- Overview.html 3 Jun 2011 20:20:29 -0000 1.86
+++ Overview.html 13 Jun 2011 23:39:17 -0000 1.87
@@ -211,7 +211,7 @@
<h1>HTML5 Web Messaging</h1>
- <h2 class="no-num no-toc" id="editor-s-draft-3-june-2011">Editor's Draft 3 June 2011</h2>
+ <h2 class="no-num no-toc" id="editor-s-draft-13-june-2011">Editor's Draft 13 June 2011</h2>
<dl><dt>Latest Published Version:</dt>
<dd><a href="http://www.w3.org/TR/webmessaging/">http://www.w3.org/TR/webmessaging/</a></dd>
<dt>Latest Editor's Draft:</dt>
@@ -311,7 +311,7 @@
</dl><p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications
Working Group</a> is the W3C working group responsible for this
specification's progress along the W3C Recommendation track.
- This specification is the 3 June 2011 Editor's Draft.
+ This specification is the 13 June 2011 Editor's Draft.
</p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
February 2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/42538/status" rel="disclosure">public list of
any patent disclosures</a> made in connection with the deliverables
@@ -409,9 +409,9 @@
readonly attribute any <a href="#dom-messageevent-data" title="dom-MessageEvent-data">data</a>;
readonly attribute DOMString <a href="#dom-messageevent-origin" title="dom-MessageEvent-origin">origin</a>;
readonly attribute DOMString <a href="#dom-messageevent-lasteventid" title="dom-MessageEvent-lastEventId">lastEventId</a>;
- readonly attribute <span>WindowProxy</span> <a href="#dom-messageevent-source" title="dom-MessageEvent-source">source</a>;
+ readonly attribute <span>WindowProxy</span>? <a href="#dom-messageevent-source" title="dom-MessageEvent-source">source</a>;
readonly attribute <a href="#messageport">MessagePort</a>[] <a href="#dom-messageevent-ports" title="dom-MessageEvent-ports">ports</a>;
- void <a href="#dom-messageevent-initmessageevent" title="dom-MessageEvent-initMessageEvent">initMessageEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in any dataArg, in DOMString originArg, in DOMString lastEventIdArg, in <span>WindowProxy</span> sourceArg, in sequence<<a href="#messageport">MessagePort</a>> portsArg);
+ void <a href="#dom-messageevent-initmessageevent" title="dom-MessageEvent-initMessageEvent">initMessageEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in any dataArg, in DOMString originArg, in DOMString lastEventIdArg, in <span>WindowProxy</span>? sourceArg, in sequence<<a href="#messageport">MessagePort</a>> portsArg);
};</pre><dl class="domintro"><dt><var title="">event</var> . <code title="dom-MessageEvent-data"><a href="#dom-messageevent-data">data</a></code></dt>
<dd>
@@ -587,8 +587,7 @@
message to same-origin targets only, without needing to explicitly
state the origin, set the target origin to "<code title="">/</code>".</p>
- <p>Throws an <code>INVALID_STATE_ERR</code> if the <var title="">ports</var> array is not null and it contains either null
- entries or duplicate ports.</p>
+ <p>Throws an <code>INVALID_STATE_ERR</code> if the <var title="">ports</var> array contains duplicate ports.</p>
</dd>
@@ -628,8 +627,7 @@
<li>
- <p>If the <var title="">ports</var> argument is present but either
- any of the entries in <var title="">ports</var> are null, or any
+ <p>If the <var title="">ports</var> argument is present but any
<code><a href="#messageport">MessagePort</a></code> object is listed in <var title="">ports</var> more than once, or any of the
<code><a href="#messageport">MessagePort</a></code> objects listed in <var title="">ports</var> have already been cloned once before, then
throw an <code>INVALID_STATE_ERR</code> exception and abort these
@@ -789,7 +787,7 @@
void <a href="#dom-messageport-close" title="dom-MessagePort-close">close</a>();
// event handlers
- attribute <span>Function</span> <a href="#handler-messageport-onmessage" title="handler-MessagePort-onmessage">onmessage</a>;
+ attribute <span>Function</span>? <a href="#handler-messageport-onmessage" title="handler-MessagePort-onmessage">onmessage</a>;
};
<a href="#messageport">MessagePort</a> implements <span>EventTarget</span>;</pre><dl class="domintro"><dt><var title="">port</var> . <code title="dom-MessagePort-poseMessage">postMessage</code>(<var title="">message</var> [, <var title="">ports</var>] )</dt>
@@ -798,8 +796,8 @@
<p>Posts a message through the channel, optionally with the given
ports.</p>
- <p>Throws an <code>INVALID_STATE_ERR</code> if the <var title="">ports</var> array is not null and it contains either null
- entries, duplicate ports, or the source or target port.</p>
+ <p>Throws an <code>INVALID_STATE_ERR</code> if the <var title="">ports</var> array contains either duplicate ports, or the
+ source or target port.</p>
</dd>
@@ -895,13 +893,13 @@
<ol><li><p>Let <var title="">target port</var> be the port with which
<var title="">source port</var> is entangled, if any.</li>
- <li><p>If the method was called with a second argument <var title="">ports</var> and that argument isn't null, then, if any of
- the entries in <var title="">ports</var> are null, if any
- <code><a href="#messageport">MessagePort</a></code> object is listed in <var title="">ports</var> more than once, if any of the
- <code><a href="#messageport">MessagePort</a></code> objects listed in <var title="">ports</var> have already been cloned once before, or if
- any of the entries in <var title="">ports</var> are either the <var title="">source port</var> or the <var title="">target port</var>
- (if any), then throw an <code>INVALID_STATE_ERR</code>
- exception.</li>
+ <li><p>If the method was called with a second argument <var title="">ports</var>, then, if any <code><a href="#messageport">MessagePort</a></code> object
+ is listed in <var title="">ports</var> more than once, if any of the
+ <code><a href="#messageport">MessagePort</a></code> objects listed in <var title="">ports</var>
+ have already been cloned once before, or if any of the entries
+ in <var title="">ports</var> are either the <var title="">source
+ port</var> or the <var title="">target port</var> (if any), then
+ throw an <code>INVALID_STATE_ERR</code> exception.</li>
<li><p>Create an event that uses the <code><a href="#messageevent">MessageEvent</a></code>
interface, with the name <code title="event-message"><a href="#event-message">message</a></code>, which does not bubble, is not
@@ -918,8 +916,7 @@
attribute of the event have the value of <var title="">message
clone</var>.</li>
- <li><p>If the method was called with a second argument <var title="">ports</var> and that argument isn't null, then run the
- following substeps:</p>
+ <li><p>If the method was called with a second argument <var title="">ports</var>, then run the following substeps:</p>
<ol><li>
Received on Monday, 13 June 2011 23:39:21 UTC