Skip to content

Strange Behaviour with Quotas (binary data) #228

@keean

Description

@keean

I have an application that writes some large ArrayBuffers to IndexedDB, and I am using IndededDBShim to support versions of Safari that do not have IndexedDB support.

I am getting strange behaviour when writing objects larger than the WebSQL storage quota. If the user does not approve the storage size increment, then the 'put' transaction appears to succeed (it should be aborted). Then when I read the objectStore, I can find an item at the key, and read it. I get back a strange object, it looks to be an instance of 'Object' with no data, but it is not null, but neither is it the ArrayBuffer I tried to store.

The expected behaviour is that the transaction should be aborted, and the key should not exit in the objectStore.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions