Skip to content

Updated IndexedDB Adapter - #120

Open
paullewis wants to merge 1 commit into
brianleroux:masterfrom
paullewis:master
Open

Updated IndexedDB Adapter#120
paullewis wants to merge 1 commit into
brianleroux:masterfrom
paullewis:master

Conversation

@paullewis

Copy link
Copy Markdown

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

Phoscur commented Sep 7, 2012

Copy link
Copy Markdown

Thank you!
Even works in Firefox!

@cscott

cscott commented Oct 16, 2012

Copy link
Copy Markdown
Contributor

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