Skip to content

Commit

Permalink
Remove history.index
Browse files Browse the repository at this point in the history
This reverts f8e293f. Although there
was multi-implementer interest at the time, implementations have not
materialized, and Gecko has objected in #2985 that they are not able to
implement in their architecture.
  • Loading branch information
domenic committed Feb 7, 2018
1 parent 6031e3a commit 2d451b9
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -80218,7 +80218,6 @@ interface <dfn>BarProp</dfn> {

[Exposed=Window]
interface <dfn>History</dfn> {
readonly attribute unsigned long <span data-x="dom-history-index">index</span>;
readonly attribute unsigned long <span data-x="dom-history-length">length</span>;
attribute <span>ScrollRestoration</span> <span data-x="dom-history-scroll-restoration">scrollRestoration</span>;
readonly attribute any <span data-x="dom-history-state">state</span>;
Expand All @@ -80231,16 +80230,7 @@ interface <dfn>History</dfn> {

<dl class="domintro">

<dt><var>window</var> . <code subdfn data-x="dom-history">history</code> . <code subdfn data-x="dom-history-index">index</code></dt>

<dd>

<p>Returns the index of the <span>current entry of the joint session history</span> within the
<span>joint session history</span>.</p>

</dd>

<dt><var>window</var> . <code data-x="dom-history">history</code> . <code subdfn data-x="dom-history-length">length</code></dt>
<dt><var>window</var> . <code subdfn data-x="dom-history">history</code> . <code subdfn data-x="dom-history-length">length</code></dt>

<dd>

Expand Down Expand Up @@ -80347,13 +80337,6 @@ interface <dfn>History</dfn> {

<div w-nodev>

<p>The <dfn><code data-x="dom-history-index">index</code></dfn> attribute of the
<code>History</code> interface, on getting, must return the index of the <span>current entry of
the joint session history</span> within the <span>top-level browsing context</span>'s <span>joint
session history</span>. If this <code>History</code> object is associated with a
<code>Document</code> that is not <span>fully active</span>, getting must instead throw a
<span>"<code>SecurityError</code>"</span> <code>DOMException</code>.</p>

<p>The <dfn><code data-x="dom-history-length">length</code></dfn> attribute of the
<code>History</code> interface, on getting, must return the number of entries in the
<span>top-level browsing context</span>'s <span>joint session history</span>. If this
Expand Down

0 comments on commit 2d451b9

Please sign in to comment.