[Webkit-unassigned] [Bug 136888] IndexedDB onupgradeneeded not firing correctly in Safari/iOS 8

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 18 07:42:38 PDT 2014


Zaid <zaid at sandglaz.com> changed:

           What    |Removed                     |Added
                 CC|                            |zaid at sandglaz.com

--- Comment #5 from Zaid <zaid at sandglaz.com>  2014-09-18 07:42:39 PST ---
There are two issues with the Safari implementation:

1. The initial version of the database reported in onupgradeneeded is HUGE and positive instead of zero/undefined. This creates issues when trying to determine which code path to run for the migration. I currently have a workaround of assuming current_version = 0 when current_version > 1000

2. Safari seems to run into problems when the database name contains "-" in it. Workaround is easy here, just don't use it.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list