Skip to content Skip to sidebar Skip to footer

Window.mozindexeddb Is Null In Firefox 15

I'm trying to run the 'Using IndexedDB' sample code on https://developer.mozilla.org/en-US/docs/IndexedDB/Using_IndexedDB Right out of the gate I stumble with the first line of cod

Solution 1:

My original HTML5 application uses jQuery Mobile & REST WS. In development I would run it directly from the file system and it works fine. For sharing with coworkers I have it running behind Apache httpd.

While adding the IndexedDB, I was trying to test by viewing files from the file system via the browser. It didn't work and that's what caused me to go back to square one and try running the example code from Mozilla.

It appears IndexedDB requires a domain even if it's localhost. I simply placed my code under public_html and viewed it via httpd/localhost and it's working perfectly.

Post a Comment for "Window.mozindexeddb Is Null In Firefox 15"