[Webkit-unassigned] [Bug 136888] New: IndexedDB onupgradeneeded not firing correctly in Safari/iOS 8
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 17 08:04:10 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=136888
Summary: IndexedDB onupgradeneeded not firing correctly in
Safari/iOS 8
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: nolan at nolanlawson.com
The Safari/iOS 8 implementation of IndexedDB does not pass the first unit test in the PouchDB test suite. The database fails to open.
The test fails with the error message "An operation failed because the requested database object could not be found." This appears to be because the objectStore wasn't created in the onupgradeneeded method.
There is a GitHub issue full of testimonials and details here: https://github.com/pouchdb/pouchdb/issues/2533
You can run the relevant subset of the test suite online here: http://pouchtest.com/tests/test.html?grep=test.basics.js-local
Notice that that test suite passes perfectly in IE10, Chrome, and Firefox, but not Safari 8 (12A365). (It passes in Safari <=7 only because we fall back to Web SQL.)
Let me know if you need any more help. We are usually very receptive in the #pouchdb Freenode IRC channel. Thanks!
--
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