Closed Bug 1358704 Opened 7 years ago Closed 5 years ago

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

Categories

(Developer Documentation Graveyard :: API: IndexedDB, defect, P5)

All
Other
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mstange, Assigned: cmills)

References

()

Details

:: 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.
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
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.