javascript - Feature detection of buggy IndexedDB implementations? -



javascript - Feature detection of buggy IndexedDB implementations? -

i have indexeddb-based app. easy feature detection on indexeddb - see if window.indexeddb defined or not. however, 2 things have changed recently:

safari released broken indexeddb support i rewrote part of app utilize features (compound indexes , multientry indexes) ie not support

so need more fine-grained feature detection show reasonable error message safari , ie users.

i can imagine testing ie's missing features wouldn't difficult, since @ to the lowest degree problems documented. safari, there multiple bugs , don't know how it's documented anywhere. heck, don't own apple devices can run safari on. , if other browser in future releases buggy indexeddb implementation?

has thought or solved these problems before? seems me there should standard indexeddb feature detection library, can't find (modernizr's indexeddb stuff doesn't seem sufficient).

for ie can check: idbkeyrange.only([1]), throws exception dataerror on ie.

for safari did useragent sniffing because couldn't find way check, (i have created dummydb , check inserts if remove other values) asynchronous making bit more difficult)..

javascript ios internet-explorer safari indexeddb

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -