This exposes the underlying IDBRequest of IDBCursor objects. It is a minor addition, exposing previously spec'd behavior.
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.
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
Last updated on 2020-12-21