W3C home > Mailing lists > Public > public-html-diffs@w3.org > October 2008

spec/Overview.html 1.1527 2354 Change handling of postMessage() to fire

From: poot <cvsmail@w3.org>
Date: Mon, 20 Oct 2008 23:11:51 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20081020141152.392B52BC6D@toro.w3.mag.keio.ac.jp>

Change handling of postMessage() to fire an exception when the
targetOrigin has a path/query/fragment. (whatwg r2354)

7.4.4 Posting message ports
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1527.html#posting-message-ports
Editor's Draft 20 October 2008
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1527.html#editor-s-draft-date-zzz-9-june-2008
A vocabulary and associated APIs for HTML and XHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1527.html#a-vocabulary-and-associated-apis-for-html-and-xhtml
7.4.3 Posting text
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1527.html#posting-text
Status of this document
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1527.html#status-of-this-document

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1526&r2=1.1527&f=h
http://html5.org/tools/web-apps-tracker?from=2353&to=2354

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1526
retrieving revision 1.1527
diff -u -d -r1.1526 -r1.1527
--- Overview.html	18 Oct 2008 01:41:03 -0000	1.1526
+++ Overview.html	20 Oct 2008 14:08:28 -0000	1.1527
@@ -8,7 +8,7 @@
    <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p>
    <h1>HTML 5</h1>
    <h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->18 October 2008</h2>
+   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->20 October 2008</h2>
    <dl><!-- ZZZ: update the month/day
     <dt>This Version:</dt>
     <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080610/">http://www.w3.org/TR/2008/WD-html5-20080610/</a></dd>
@@ -97,7 +97,7 @@
   specification's progress along the W3C Recommendation
   track.
   <!--ZZZ:-->
-  This specification is the 18 October 2008 <!--ZZZ "Working Draft"-->Editor's Draft.
+  This specification is the 20 October 2008 <!--ZZZ "Working Draft"-->Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -34126,11 +34126,22 @@
   <ol><li>
 
     <p>If the value of the <var title="">targetOrigin</var> argument
-    is not a single U+002A ASTERISK character ("*"), and <a href=#parse-a-url title="parse a url">parsing</a> it as a <a href=#url>URL</a> fails,
-    then throw a <code>SYNTAX_ERR</code> exception and abort the
-    overall set of steps.</p>
+    is not a single U+002A ASTERISK character ("*"), and either <a href=#parse-a-url title="parse a url">parsing</a> it as a <a href=#url>URL</a> fails,
+    or <a href=#resolve-a-url title="resolve a url">resolving</a> it results in a
+    <a href=#url>URL</a> with one of the following conditions, then throw
+    a <code>SYNTAX_ERR</code> exception and abort the overall set of
+    steps:</p>
 
-   </li>
+    <ul><li>A <var title=url-path><a href=#url-path>&lt;path&gt;</a></var> that is neither
+     empty nor a single U+002F SOLIDUS character (/).</li>
+
+     <li>A <var title=url-query><a href=#url-query>&lt;query&gt;</a></var> that is not
+     empty.</li>
+
+     <li>A <var title=url-fragment><a href=#url-fragment>&lt;fragment&gt;</a></var> that is not
+     empty.</li>
+
+    </ul></li>
 
    <li>
 
@@ -34188,11 +34199,22 @@
   <ol><!-- EXCEPT WHERE NOTED, THESE STEPS ARE IDENTICAL TO THE PREVIOUS SECTION --><!-- one exception is the use of -3 instead of -2 in the xrefs --><li>
 
     <p>If the value of the <var title="">targetOrigin</var> argument
-    is not a single U+002A ASTERISK character ("*"), and <a href=#parse-a-url title="parse a url">parsing</a> it as a <a href=#url>URL</a> fails,
-    then throw a <code>SYNTAX_ERR</code> exception and abort the
-    overall set of steps.</p>
+    is not a single U+002A ASTERISK character ("*"), and either <a href=#parse-a-url title="parse a url">parsing</a> it as a <a href=#url>URL</a> fails,
+    or <a href=#resolve-a-url title="resolve a url">resolving</a> it results in a
+    <a href=#url>URL</a> with one of the following conditions, then throw
+    a <code>SYNTAX_ERR</code> exception and abort the overall set of
+    steps:</p>
 
-   </li>
+    <ul><li>A <var title=url-path><a href=#url-path>&lt;path&gt;</a></var> that is neither
+     empty nor a single U+002F SOLIDUS character (/).</li>
+
+     <li>A <var title=url-query><a href=#url-query>&lt;query&gt;</a></var> that is not
+     empty.</li>
+
+     <li>A <var title=url-fragment><a href=#url-fragment>&lt;fragment&gt;</a></var> that is not
+     empty.</li>
+
+    </ul></li>
 
    <li> <!-- NEW STEP -->
Received on Monday, 20 October 2008 14:12:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:56 GMT