postmsg; hixie: drop support for '/' origins in postMessage(), and require that paths be ignored. (whatwg r5277)

postmsg; hixie: drop support for '/' origins in postMessage(), and
require that paths be ignored. (whatwg r5277)

http://dev.w3.org/cvsweb/html5/postmsg/Overview.html?r1=1.57&r2=1.58&f=h
http://html5.org/tools/web-apps-tracker?from=5276&to=5277

===================================================================
RCS file: /sources/public/html5/postmsg/Overview.html,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- Overview.html 10 Aug 2010 21:11:00 -0000 1.57
+++ Overview.html 11 Aug 2010 01:11:07 -0000 1.58
@@ -311,7 +311,7 @@
 
    <h1>HTML5 Web Messaging</h1>
    <h2 class="no-num no-toc" id="generatedID"></h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-10-august-2010">Editor's Draft 10 August 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-11-august-2010">Editor's Draft 11 August 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/postmsg/">http://www.w3.org/TR/postmsg/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -401,7 +401,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 10 August 2010 Editor's Draft.
+  This specification is the 11 August 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</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) --><!-- (this text is from the RDFa+HTML spec --><p>This specification is an extension to the HTML5 language. All
@@ -626,7 +626,7 @@
     send the message to the target regardless of origin, set the
     target origin to "<code title="">*</code>". To restrict the
     message to same-origin targets only, without needing to explicitly
-    state the origin, set the target origin to "<code title="">/</code>".</p>
+    state the origin, pass the <code title="dom-location">window.location</code> object.</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>
@@ -652,12 +652,9 @@
   <ol><li>
 
     <p>If the value of the <var title="">targetOrigin</var> argument
-    is neither a single U+002A ASTERISK character (*), a single U+002F
-    SOLIDUS character (/), nor an <span>absolute URL</span> with a
-    <code title="url-host-specific">&lt;host-specific&gt;</code>
-    component that is either empty or a single U+002F SOLIDUS
-    character (/), then throw a <code>SYNTAX_ERR</code> exception and
-    abort the overall set of steps.</p>
+    is neither a single U+002A ASTERISK character (*) nor an
+    <span>absolute URL</span>, then throw a <code>SYNTAX_ERR</code>
+    exception and abort the overall set of steps.</p>
 
    </li>
 
@@ -706,13 +703,6 @@
 
    <li>
 
-    <p>If the <var title="">targetOrigin</var> argument is a single
-    literal U+002F SOLIDUS character (/), and the
-    <code>Document</code> of the <code>Window</code> object on which
-    the method was invoked does not have the <span>same origin</span>
-    as the <span>entry script</span>'s <span title="script's
-    document">document</span>, then abort these steps silently.</p>
-
     <p>Otherwise, if the <var title="">targetOrigin</var> argument is
     an <span>absolute URL</span>, and the <code>Document</code> of the
     <code>Window</code> object on which the method was invoked does

Received on Wednesday, 11 August 2010 01:11:50 UTC