Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated IndexedDB Adapter #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Updated IndexedDB Adapter #120

wants to merge 1 commit into from

Conversation

paullewis
Copy link

Change to the spec has 'readwrite', 'readonly' and 'versionchange' instead of the enumerations for the transaction types, implemented in Chrome 21.

Also fixed a change to behaviour that no other transactions can be triggered when a 'versionchange' event is in process. Simply moved the transactions to complete handler for the 'versionchange' event rather than being called inside the setVersion onsuccess callback.

@Phoscur
Copy link

Phoscur commented Sep 7, 2012

Thank you!
Even works in Firefox!

@cscott
Copy link
Contributor

cscott commented Oct 16, 2012

Hey, Paul: I've got some outstanding fixes for IndexedDB as well in cscott/lawnchair@573d5ed971 (my indexeddb-wip branch) although I've kinda forgotten why some of the patches are there. I was trying to make something which worked in both Firefox and Webkit, which is a tough road to hoe for IndexedDB (sigh). IIRC (I've paged out a bit of state since when I wrote the patches) Firefox was having issues with version upgrades still. I'm going to try to merge your work and mine to get these fixes upstream... but if I flake, feel free to steal anything you like from my patch set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants