Skip to content

Commit

Permalink
[] (1) Mention that relative URIs must be resolved in pushState(). We…
Browse files Browse the repository at this point in the history
… don't yet say how. Resolving URIs in script arguments are a wider issue.

git-svn-id: http://svn.whatwg.org/webapps@993 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 9, 2007
1 parent 6e51f5c commit 237d50c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -23534,15 +23534,15 @@ XXX selection ranges -->
<p>When this method is invoked, the user agent must first check the third
argument. If a third argument is specified, then the user agent must
verify that the third argument is a valid URI or IRI (as defined by RFC
3986 and 3987, and as modified by RFC 2732), and if so, that the URI or
IRI is either identical to the document's URI, or that it differs from the
document's URI only in the &lt;query&gt;, &lt;abs_path&gt;, and/or
&lt;fragment&gt; parts, as applicable (the &lt;query&gt; and
&lt;abs_path&gt; parts can only be the same if the document's URI uses a
hierarchical &lt;scheme&gt;). If the verification fails (either because
the argument is syntactically incorrect, or differs in a way not described
as acceptable in the previous sentence) then the user agent must raise a
<a href="#security8">security exception</a>. <a
3986 and 3987, and as modified by RFC 2732), and if so, that, after
resolving it to an absolute URI, it is either identical to the document's
URI, or that it differs from the document's URI only in the &lt;query&gt;,
&lt;abs_path&gt;, and/or &lt;fragment&gt; parts, as applicable (the
&lt;query&gt; and &lt;abs_path&gt; parts can only be the same if the
document's URI uses a hierarchical &lt;scheme&gt;). If the verification
fails (either because the argument is syntactically incorrect, or differs
in a way not described as acceptable in the previous sentence) then the
user agent must raise a <a href="#security8">security exception</a>. <a
href="#refsRFC3986">[RFC3986]</a> <a href="#refsRFC3987">[RFC3987]</a> <a
href="#refsRFC2732">[RFC2732]</a>

Expand Down
18 changes: 9 additions & 9 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -21141,15 +21141,15 @@ XXX selection ranges -->
third argument. If a third argument is specified, then the user
agent must verify that the third argument is a valid URI or IRI (as
defined by RFC 3986 and 3987, and as modified by RFC 2732), and if
so, that the URI or IRI is either identical to the document's URI,
or that it differs from the document's URI only in the
&lt;query&gt;, &lt;abs_path&gt;, and/or &lt;fragment&gt; parts, as
applicable (the &lt;query&gt; and &lt;abs_path&gt; parts can only be
the same if the document's URI uses a hierarchical
&lt;scheme&gt;). If the verification fails (either because the
argument is syntactically incorrect, or differs in a way not
described as acceptable in the previous sentence) then the user
agent must raise a <span>security exception</span>. <a
so, that, after resolving it to an absolute URI, it is either
identical to the document's URI, or that it differs from the
document's URI only in the &lt;query&gt;, &lt;abs_path&gt;, and/or
&lt;fragment&gt; parts, as applicable (the &lt;query&gt; and
&lt;abs_path&gt; parts can only be the same if the document's URI
uses a hierarchical &lt;scheme&gt;). If the verification fails
(either because the argument is syntactically incorrect, or differs
in a way not described as acceptable in the previous sentence) then
the user agent must raise a <span>security exception</span>. <a
href="#refsRFC3986">[RFC3986]</a> <a
href="#refsRFC3987">[RFC3987]</a> <a
href="#refsRFC2732">[RFC2732]</a></p>
Expand Down

0 comments on commit 237d50c

Please sign in to comment.