Skip to content

IDB InvalidStateError due to timing issues with lazy-updates in database #407

Open
@nolanlawson

Description

@nolanlawson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions