IDBObjectStore.delete mentions a "cursor" in the InvalidStateError description - which cursor is it talking about?

NEW
Assigned to

Status

P5
normal
a year ago
a year ago

People

(Reporter: mstange, Assigned: cmills)

Tracking

Details

(URL)

(Reporter)

Description

a year ago
:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: unspecified
 Technical Contact: 

:: Details

> This method may raise a DOMException of the following types:
> [...]
> InvalidStateError
>   The cursor was created using IDBindex.openKeyCursor, is currently
>   being iterated, or has iterated past its end.

Which cursor? IDBObjectStore.delete does not accept a cursor. I don't see any cursor in the vicinity of it. I don't understand when this error might be fired in response to IDBObjectStore.delete.

Also, IDBindex is spelled with two uppercase I's.
(Reporter)

Updated

a year ago
Component: General → API: IndexedDB
This looks like a copy and paste error; I've looked at the spec and updated the exception descriptions. Do they look OK to you now?
Assignee: nobody → cmills
You need to log in before you can comment on or make changes to this bug.