IndexedDB UnknownError “A request was aborted, for example through a call to IDBTransaction.abort.” occurs in Firefox OS app

房东的猫 提交于 2019-12-13 16:40:52

问题


When trying to insert more than 10000 records to IndexedDB in a Firefox OS app, I get an

UnknownError "A request was aborted, for example through a call to IDBTransaction.abort."

I am trying to insert records to 3 different tables.

Anybody can help me?


回答1:


Maybe you are hitting the storage limit of indexed db?

https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API#Storage_limits



来源:https://stackoverflow.com/questions/26483455/indexeddb-unknownerror-a-request-was-aborted-for-example-through-a-call-to-idb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!