Skip to content

Commit

Permalink
[giow] (2) Make the third argument of pushState and replaceState acce…
Browse files Browse the repository at this point in the history
…pt null.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17087
Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@7685 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 1, 2013
1 parent e662ae6 commit 4b2df11
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
18 changes: 9 additions & 9 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 31 January 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 1 February 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -67989,8 +67989,8 @@ <h4 id=the-history-interface><span class=secno>6.5.2 </span>The <code><a href=#h
void <a href=#dom-history-go title=dom-history-go>go</a>(optional long delta);
void <a href=#dom-history-back title=dom-history-back>back</a>();
void <a href=#dom-history-forward title=dom-history-forward>forward</a>();
void <a href=#dom-history-pushstate title=dom-history-pushState>pushState</a>(any data, DOMString title, optional DOMString url);
void <a href=#dom-history-replacestate title=dom-history-replaceState>replaceState</a>(any data, DOMString title, optional DOMString url);
void <a href=#dom-history-pushstate title=dom-history-pushState>pushState</a>(any data, DOMString title, optional DOMString? url);
void <a href=#dom-history-replacestate title=dom-history-replaceState>replaceState</a>(any data, DOMString title, optional DOMString? url);
};</pre>

<dl class=domintro><dt><var title="">window</var> . <code title=dom-history><a href=#dom-history>history</a></code> . <code title=dom-history-length><a href=#dom-history-length>length</a></code></dt>
Expand Down Expand Up @@ -68045,15 +68045,15 @@ <h4 id=the-history-interface><span class=secno>6.5.2 </span>The <code><a href=#h

<dd>

<p>Pushes the given data onto the session history, with the given title, and, if provided, the given URL.</p>
<p>Pushes the given data onto the session history, with the given title, and, if provided and not null, the given URL.</p>

</dd>

<dt><var title="">window</var> . <code title=dom-history><a href=#dom-history>history</a></code> . <code title=dom-history-replaceState><a href=#dom-history-replacestate>replaceState</a></code>(<var title="">data</var>, <var title="">title</var> [, <var title="">url</var> ] )</dt>

<dd>

<p>Updates the current entry in the session history to have the given data, title, and, if provided, URL.</p>
<p>Updates the current entry in the session history to have the given data, title, and, if provided and not null, URL.</p>

</dd>

Expand Down Expand Up @@ -68188,7 +68188,7 @@ <h4 id=the-history-interface><span class=secno>6.5.2 </span>The <code><a href=#h

<li>

<p>If a third argument is specified, run these substeps:</p>
<p>If a third argument is specified and not null, run these substeps:</p>

<ol><li><a href=#resolve-a-url title="resolve a url">Resolve</a> the value of the
third argument, relative to the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base URL</a>.</li>
Expand Down Expand Up @@ -68222,7 +68222,7 @@ <h4 id=the-history-interface><span class=secno>6.5.2 </span>The <code><a href=#h

<li>

<p>If a third argument is <em>not</em> specified, then let <var title="">new URL</var> be the <a href=#url>URL</a> of the
<p>If a third argument is <em>not</em> specified, or if one is specified but it is null, then let <var title="">new URL</var> be the <a href=#url>URL</a> of the
<a href=#current-entry>current entry</a>.</p>

<li>
Expand Down Expand Up @@ -101036,8 +101036,8 @@ <h3 class=no-num id=elements-1>Elements</h3>
<td><code><a href=#the-li-element>li</a></code></td>
<td><a href=#global-attributes title="global attributes">globals</a>;
<code title=attr-ol-reversed><a href=#attr-ol-reversed>reversed</a></code>;
<code title=attr-ol-start><a href=#attr-ol-start>start</a></code></td>;
<code title=attr-ol-type><a href=#attr-ol-type>type</a></code>
<code title=attr-ol-start><a href=#attr-ol-start>start</a></code>;
<code title=attr-ol-type><a href=#attr-ol-type>type</a></code></td>
<td><code><a href=#htmlolistelement>HTMLOListElement</a></code></td>
<tr><th><code><a href=#the-optgroup-element>optgroup</a></code></th>
<td>Group of options in a list box</td>
Expand Down
18 changes: 9 additions & 9 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 31 January 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 1 February 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -67989,8 +67989,8 @@ x === this; // true</pre>
void <a href=#dom-history-go title=dom-history-go>go</a>(optional long delta);
void <a href=#dom-history-back title=dom-history-back>back</a>();
void <a href=#dom-history-forward title=dom-history-forward>forward</a>();
void <a href=#dom-history-pushstate title=dom-history-pushState>pushState</a>(any data, DOMString title, optional DOMString url);
void <a href=#dom-history-replacestate title=dom-history-replaceState>replaceState</a>(any data, DOMString title, optional DOMString url);
void <a href=#dom-history-pushstate title=dom-history-pushState>pushState</a>(any data, DOMString title, optional DOMString? url);
void <a href=#dom-history-replacestate title=dom-history-replaceState>replaceState</a>(any data, DOMString title, optional DOMString? url);
};</pre>

<dl class=domintro><dt><var title="">window</var> . <code title=dom-history><a href=#dom-history>history</a></code> . <code title=dom-history-length><a href=#dom-history-length>length</a></code></dt>
Expand Down Expand Up @@ -68045,15 +68045,15 @@ x === this; // true</pre>

<dd>

<p>Pushes the given data onto the session history, with the given title, and, if provided, the given URL.</p>
<p>Pushes the given data onto the session history, with the given title, and, if provided and not null, the given URL.</p>

</dd>

<dt><var title="">window</var> . <code title=dom-history><a href=#dom-history>history</a></code> . <code title=dom-history-replaceState><a href=#dom-history-replacestate>replaceState</a></code>(<var title="">data</var>, <var title="">title</var> [, <var title="">url</var> ] )</dt>

<dd>

<p>Updates the current entry in the session history to have the given data, title, and, if provided, URL.</p>
<p>Updates the current entry in the session history to have the given data, title, and, if provided and not null, URL.</p>

</dd>

Expand Down Expand Up @@ -68188,7 +68188,7 @@ x === this; // true</pre>

<li>

<p>If a third argument is specified, run these substeps:</p>
<p>If a third argument is specified and not null, run these substeps:</p>

<ol><li><a href=#resolve-a-url title="resolve a url">Resolve</a> the value of the
third argument, relative to the <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base URL</a>.</li>
Expand Down Expand Up @@ -68222,7 +68222,7 @@ x === this; // true</pre>

<li>

<p>If a third argument is <em>not</em> specified, then let <var title="">new URL</var> be the <a href=#url>URL</a> of the
<p>If a third argument is <em>not</em> specified, or if one is specified but it is null, then let <var title="">new URL</var> be the <a href=#url>URL</a> of the
<a href=#current-entry>current entry</a>.</p>

<li>
Expand Down Expand Up @@ -101036,8 +101036,8 @@ if (s = prompt('What is your name?')) {
<td><code><a href=#the-li-element>li</a></code></td>
<td><a href=#global-attributes title="global attributes">globals</a>;
<code title=attr-ol-reversed><a href=#attr-ol-reversed>reversed</a></code>;
<code title=attr-ol-start><a href=#attr-ol-start>start</a></code></td>;
<code title=attr-ol-type><a href=#attr-ol-type>type</a></code>
<code title=attr-ol-start><a href=#attr-ol-start>start</a></code>;
<code title=attr-ol-type><a href=#attr-ol-type>type</a></code></td>
<td><code><a href=#htmlolistelement>HTMLOListElement</a></code></td>
<tr><th><code><a href=#the-optgroup-element>optgroup</a></code></th>
<td>Group of options in a list box</td>
Expand Down
14 changes: 7 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -79586,8 +79586,8 @@ x === this; // true</pre>
void <span title="dom-history-go">go</span>(optional long delta);
void <span title="dom-history-back">back</span>();
void <span title="dom-history-forward">forward</span>();
void <span title="dom-history-pushState">pushState</span>(any data, DOMString title, optional DOMString url);
void <span title="dom-history-replaceState">replaceState</span>(any data, DOMString title, optional DOMString url);
void <span title="dom-history-pushState">pushState</span>(any data, DOMString title, optional DOMString? url);
void <span title="dom-history-replaceState">replaceState</span>(any data, DOMString title, optional DOMString? url);
};</pre>

<dl class="domintro">
Expand Down Expand Up @@ -79644,15 +79644,15 @@ x === this; // true</pre>

<dd>

<p>Pushes the given data onto the session history, with the given title, and, if provided, the given URL.</p>
<p>Pushes the given data onto the session history, with the given title, and, if provided and not null, the given URL.</p>

</dd>

<dt><var title="">window</var> . <code title="dom-history">history</code> . <code title="dom-history-replaceState">replaceState</code>(<var title="">data</var>, <var title="">title</var> [, <var title="">url</var> ] )</dt>

<dd>

<p>Updates the current entry in the session history to have the given data, title, and, if provided, URL.</p>
<p>Updates the current entry in the session history to have the given data, title, and, if provided and not null, URL.</p>

</dd>

Expand Down Expand Up @@ -79816,7 +79816,7 @@ x === this; // true</pre>

<li>

<p>If a third argument is specified, run these substeps:</p>
<p>If a third argument is specified and not null, run these substeps:</p>

<ol>

Expand Down Expand Up @@ -79862,7 +79862,7 @@ x === this; // true</pre>

<li>

<p>If a third argument is <em>not</em> specified, then let <var
<p>If a third argument is <em>not</em> specified, or if one is specified but it is null, then let <var
title="">new URL</var> be the <span>URL</span> of the
<span>current entry</span>.</p>

Expand Down Expand Up @@ -118178,7 +118178,7 @@ if (s = prompt('What is your name?')) {
<td><code>li</code></td>
<td><span title="global attributes">globals</span>;
<code title="attr-ol-reversed">reversed</code>;
<code title="attr-ol-start">start</code></td>;
<code title="attr-ol-start">start</code>;
<code title="attr-ol-type">type</code></td>
<td><code>HTMLOListElement</code></td>
</tr>
Expand Down

0 comments on commit 4b2df11

Please sign in to comment.