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:
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
Post a Comment