Search code examples
firefox-os

Does the use of indexedDb on firefox-os devices require special permissions


My todo app using indexedDB works fine when running in the Firefox browser (v31 on Mac OSX 10.9.4). When I install it in the App manager and run it on the simulator (v1.2) the database doesn't open. The same happens on my Flame phone. Do I need to set any particular permissions beyond listing it in the manifest.webapp?


Solution

  • I sorted it out. Oddly, it had nothing to do with indexedDB at all. I have a routine that creates sample data to populate the database. One of those routines had an error. When writing the result to the database, it created an Abort error in the database. Thanks for your encouragement to use the debugger Loïc. It took me a while but I got there.