firefox indexeddb try catch