Skip to content

idbfs backend: If reconcile() triggers QuotaExceededError, callback is never called #21325

@past-due

Description

@past-due

In library_idbfs.js's reconcile() function, the transaction may abort if (for example) a QuotaExceededError occurs.

However, since no abort/onabort handler is currently added, the callback will never be called in this case.

Expected behavior:

The callback passed-in to reconcile() is called with the error, even if the transaction aborts.

Version of emscripten/emsdk:
3.1.53

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions