@@ -80288,6 +80288,7 @@ interface <dfn>BarProp</dfn> {
80288
80288
80289
80289
[Exposed=Window]
80290
80290
interface <dfn>History</dfn> {
80291
+ readonly attribute unsigned long <span data-x="dom-history-index">index</span>;
80291
80292
readonly attribute unsigned long <span data-x="dom-history-length">length</span>;
80292
80293
attribute <span>ScrollRestoration</span> <span data-x="dom-history-scroll-restoration">scrollRestoration</span>;
80293
80294
readonly attribute any <span data-x="dom-history-state">state</span>;
@@ -80300,7 +80301,16 @@ interface <dfn>History</dfn> {
80300
80301
80301
80302
<dl class="domintro">
80302
80303
80303
- <dt><var>window</var> . <code subdfn data-x="dom-history">history</code> . <code subdfn data-x="dom-history-length">length</code></dt>
80304
+ <dt><var>window</var> . <code subdfn data-x="dom-history">history</code> . <code subdfn data-x="dom-history-index">index</code></dt>
80305
+
80306
+ <dd>
80307
+
80308
+ <p>Returns the index of the <span>current entry of the joint session history</span> within the
80309
+ <span>joint session history</span>.</p>
80310
+
80311
+ </dd>
80312
+
80313
+ <dt><var>window</var> . <code data-x="dom-history">history</code> . <code subdfn data-x="dom-history-length">length</code></dt>
80304
80314
80305
80315
<dd>
80306
80316
@@ -80407,6 +80417,13 @@ interface <dfn>History</dfn> {
80407
80417
80408
80418
<div w-nodev>
80409
80419
80420
+ <p>The <dfn><code data-x="dom-history-index">length</code></dfn> attribute of the
80421
+ <code>History</code> interface, on getting, must return the index of the <span>current entry of
80422
+ the joint session history</span> within the <span>top-level browsing context</span>'s <span>joint
80423
+ session history</span>. If this <code>History</code> object is associated with a
80424
+ <code>Document</code> that is not <span>fully active</span>, getting must instead throw a
80425
+ <span>"<code>SecurityError</code>"</span> <code>DOMException</code>.</p>
80426
+
80410
80427
<p>The <dfn><code data-x="dom-history-length">length</code></dfn> attribute of the
80411
80428
<code>History</code> interface, on getting, must return the number of entries in the
80412
80429
<span>top-level browsing context</span>'s <span>joint session history</span>. If this
0 commit comments