It's possible to get IDB (or at least fake-indexeddb) to throw this error:
InvalidStateError: An operation was called on an object on which it is not allowed
or at a time when it is not allowed. Also occurs if a request is made on a source
object that has been deleted or removed. Use TransactionInactiveError or
ReadOnlyError when possible, as they are more specific variations of InvalidStateError.
I have a repro forthcoming; it's in the unit tests.
It's possible to get IDB (or at least
fake-indexeddb
) to throw this error:I have a repro forthcoming; it's in the unit tests.