forked from webcss/angular-indexedDB
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
upgradeDB function stores the upgrade callback functions with its version number as a key in javascript associative arrays.
But the ordering of key is not guaranteed to be preserved in javascript. (I'm not sure if the ordering is preserved in all browsers although it is not in javascript specification) so there is a possibility to apply modification to db in wrong order.
eg. create object-storeA in version1 and delete object-storeA in version2. (these should not be applied in reverse order)
Metadata
Metadata
Assignees
Labels
No labels