Open
Bug 1358706
Opened 7 years ago
Updated 2 years ago
Wrong error fired when calling cursor.update on an openKeyCursor cursor - complains about readonly transaction
Categories
(Core :: Storage: IndexedDB, enhancement, P3)
Core
Storage: IndexedDB
Tracking
()
UNCONFIRMED
People
(Reporter: mstange, Unassigned)
Details
I have a rough recollection of this happening earlier today but I haven't made sure that it's actually true. Filing it anyway in case it is. If you have an index, and iterate over records in its object store with a cursor retrieved from index.openKeyCursor(), calling cursor.update() triggers an exception that complains about the transaction being readonly. Instead, it should trigger an InvalidStateError that mentions that cursor.update() only works on cursors obtained with index.openCursor().
Updated•7 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•