Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (2) Change handling of postMessage() again to do the previous …
…checkin in a better way.

git-svn-id: http://svn.whatwg.org/webapps@2355 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 20, 2008
1 parent e581149 commit 04e61d0
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 58 deletions.
43 changes: 17 additions & 26 deletions index
Expand Up @@ -3711,6 +3711,13 @@

<dd><p>The substring matched by the &lt;fragment&gt; production, if any.</dd>


<dt><dfn id=url-host-specific title=url-host-specific>&lt;host-specific&gt;</dfn></dt>

<dd><p>The substring that <em>follows</em> the substring matched
by the &lt;authority&gt; production, or the whole string if the
&lt;authority&gt; production wasn't matched.</dd>

</dl></li>

</ol><!-- XXX we might want to define "server-based naming authority",
Expand Down Expand Up @@ -42631,20 +42638,12 @@ function receiver(e) {
<p>If the value of the <var title="">targetOrigin</var> argument
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>
<a href=#url>URL</a> with a <code title=url-host-specific><a href=#url-host-specific>&lt;host-specific&gt;</a></code> component
that is neither empty nor a single U+002F SOLIDUS character (/),
then throw a <code>SYNTAX_ERR</code> exception and abort the
overall set of steps.</p>

<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>

<li>

Expand Down Expand Up @@ -42706,20 +42705,12 @@ function receiver(e) {
<p>If the value of the <var title="">targetOrigin</var> argument
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>

<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>
<a href=#url>URL</a> with a <code title=url-host-specific><a href=#url-host-specific>&lt;host-specific&gt;</a></code> component
that is neither empty nor a single U+002F SOLIDUS character (/),
then throw a <code>SYNTAX_ERR</code> exception and abort the
overall set of steps.</p>

<li>A <var title=url-fragment><a href=#url-fragment>&lt;fragment&gt;</a></var> that is not
empty.</li>

</ul></li>
</li>

<li> <!-- NEW STEP -->

Expand Down
49 changes: 17 additions & 32 deletions source
Expand Up @@ -3179,6 +3179,13 @@

<dd><p>The substring matched by the &lt;fragment&gt; production, if any.</p></dd>


<dt><dfn title="url-host-specific">&lt;host-specific&gt;</dfn></dt>

<dd><p>The substring that <em>follows</em> the substring matched
by the &lt;authority&gt; production, or the whole string if the
&lt;authority&gt; production wasn't matched.</p></dd>

</dl>

</li>
Expand Down Expand Up @@ -48553,22 +48560,11 @@ function receiver(e) {
is not a single U+002A ASTERISK character ("*"), and either <span
title="parse a url">parsing</span> it as a <span>URL</span> fails,
or <span title="resolve a url">resolving</span> it results in a
<span>URL</span> with one of the following conditions, then throw
a <code>SYNTAX_ERR</code> exception and abort the overall set of
steps:</p>

<ul>

<li>A <var title="url-path">&lt;path&gt;</var> that is neither
empty nor a single U+002F SOLIDUS character (/).</li>

<li>A <var title="url-query">&lt;query&gt;</var> that is not
empty.</li>

<li>A <var title="url-fragment">&lt;fragment&gt;</var> that is not
empty.</li>

</ul>
<span>URL</span> with a <code
title="url-host-specific">&lt;host-specific&gt;</code> component
that is neither empty nor a single U+002F SOLIDUS character (/),
then throw a <code>SYNTAX_ERR</code> exception and abort the
overall set of steps.</p>

</li>

Expand Down Expand Up @@ -48649,22 +48645,11 @@ function receiver(e) {
is not a single U+002A ASTERISK character ("*"), and either <span
title="parse a url">parsing</span> it as a <span>URL</span> fails,
or <span title="resolve a url">resolving</span> it results in a
<span>URL</span> with one of the following conditions, then throw
a <code>SYNTAX_ERR</code> exception and abort the overall set of
steps:</p>

<ul>

<li>A <var title="url-path">&lt;path&gt;</var> that is neither
empty nor a single U+002F SOLIDUS character (/).</li>

<li>A <var title="url-query">&lt;query&gt;</var> that is not
empty.</li>

<li>A <var title="url-fragment">&lt;fragment&gt;</var> that is not
empty.</li>

</ul>
<span>URL</span> with a <code
title="url-host-specific">&lt;host-specific&gt;</code> component
that is neither empty nor a single U+002F SOLIDUS character (/),
then throw a <code>SYNTAX_ERR</code> exception and abort the
overall set of steps.</p>

</li>

Expand Down

0 comments on commit 04e61d0

Please sign in to comment.