IndexedDB: Implement IDBIndex::getAllRecords() behind flag
This change is very similar to the IDBObjectStore::getAllRecords()
implementation found here:
https://chromium-review.googlesource.com/c/chromium/src/+/5911615
The IDBIndex
version of getAllRecords()
provides the index key
for the IDBRecord::key
attribute. For testing, adds
idbindex_getAllRecords.tentative.any.js
, which forks the existing
IDBIndex::getAll()
test, but adds new test cases for direction and
large values. This change updates support-get-all.js
to include
common utility and setup code shared between the IDBIndex
WPT's
for getAll()
, getAllKeys()
, and getAllRecords()
.
Bug: 40746016
Change-Id: I69126cce9260013fb11ab09ac7b897841fa1c4ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5907804
Commit-Queue: Steve Becker stevebe@microsoft.com
Reviewed-by: Abhishek Shanthkumar abhishek.shanthkumar@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1383127}