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

html5/spec Overview.html,1.1526,1.1527

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 20 Oct 2008 14:08:30 +0000
To: public-html-commits@w3.org
Message-Id: <E1KrvQs-00038f-UQ@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv12045

Modified Files:
	Overview.html 
Log Message:
Change handling of postMessage() to fire an exception when the targetOrigin has a path/query/fragment. (whatwg r2354)

Index: Overview.html
===================================================================
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:08:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 October 2008 14:08:40 GMT