Contact emails
dom...@chromium.org (spec), pani...@chromium.org, jap...@chromium.org (implementation)
Spec
https://html.spec.whatwg.org/multipage/history.html#dom-history-index-2
(but, https://html.spec.whatwg.org/multipage/history.html#dom-history-index once we fix a spec tooling bug)
TAG Review: skipped as this is a very minor and natural addition.
Summary
Adds history.index, a counterpart to history.length, giving the index of the current entry in the joint session history.
Motivation
This allows web content to more simply track its location within the history, especially relative to previous states, by just comparing indices.
More motivation can be found in the AMP team's description of the problem and current workarounds in the spec issue.
Interoperability and Compatibility Risk
This feature should be simple to implement interoperably; it is a natural exposure of data that already exists in all browsers. As such, we hope to see it implemented everywhere.
Edge: No signals (bug)
Firefox: No signals (bug)
Safari: Public support (bug)
Web developers: Positive
Ongoing technical constraints
None
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Is this feature fully tested by web-platform-tests?
Yes: see the test additions at https://chromium-review.googlesource.com/c/chromium/src/+/596716.
OWP launch tracking bug
Entry on the feature dashboard
https://www.chromestatus.com/feature/5733738818306048
Requesting approval to ship?
Yes
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM0wra-oUzodqiTwn6FqDWiTbQOq6wCT5YAH%2BUQARfGoNzp2Bg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGH7WqGDXFWPGVFdJopsbT%2ByxENzWMk3p7%3D%2BnCa3b05fn-Qp4A%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CALjhuidpLOhvSnOTOiP%2B%2BYU57CQ0QFK844j22g206i1BtS2rVA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/fede3405-4998-a4f3-7bb6-f500cfebf318%40mit.edu.