This exposes the underlying IDBRequest of IDBCursor objects. It is a minor addition, exposing previously spec'd behavior.
Motivation
Requests for cursors are different as they can succeed many times. When you call cursor.continue() the success of that operation is provided in the request returned by source.openCursor(). If I want to give an object store to another piece of code, I can just pass the object store. However, if I want to pass the cursor elsewhere, I also have to pass the related request. From this, it is reasonable to expose an IDBCursor's request object as an attribute.
Documentation
Specification
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 76
- Chrome for Android release 76
- Android WebView release 76
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
Owners
Last updated on 2020-12-21