mozilla / chromeless

DEPRECATED - Build desktop applications with web technologies.
http://mozillalabs.com/chromeless
761 stars 117 forks source link

IndexedDB doesn't work #149

Closed ddayan closed 3 years ago

ddayan commented 13 years ago

info: Uncaught-Exception: 'uncaught exception: [Exception... "The operation failed for reasons unrelated to the database itself and not covered by any other error code." code: "1" nsresult: "0x80660001 (NS_ERROR_DOM_INDEXEDDB_UNKNOWN_ERR)" location: "chromeless://main/browser_code/script.js Line: 5"]' in file '' at line 0, col 0 (147)

Code: var indexedDB = window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB; [Break On This Error] var request = IndexedDB.open("faves");

IndexedDB doesn't work locally on firefox, from my understanding it's because of file:// permissions. Is there anything I need to do to make IndexedDB work on chromeless?

invoice2go commented 12 years ago

any update on this yet?? very important issue for us in regards to using chromeless...

benfrancis commented 12 years ago

There's some discussion about this in this bug filed against Mozilla core https://bugzilla.mozilla.org/show_bug.cgi?id=643318

The problem is that any page served from file:// would be access the data saved by any other page served from file:// so there needs to be some mechanism to deal with this.

invoice2go commented 12 years ago

Thanks for the link ... very helpful. I guess it will take some time to resolve though.

On Thu, Dec 22, 2011 at 11:24 PM, Ben Francis < reply@reply.github.com

wrote:

There's some discussion about this in this bug filed against Mozilla core https://bugzilla.mozilla.org/show_bug.cgi?id=643318

The problem is that any page served from file:// would be access the data saved by any other page served from file:// so there needs to be some mechanism to deal with this.


Reply to this email directly or view it on GitHub: https://github.com/mozilla/chromeless/issues/149#issuecomment-3248468