Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

IndexedDB doesn't work #149

Closed
ddayan opened this issue Sep 4, 2011 · 3 comments
Closed

IndexedDB doesn't work #149

ddayan opened this issue Sep 4, 2011 · 3 comments
Labels
ARCHIVED CLOSED at time of archiving

Comments

@ddayan
Copy link

ddayan commented Sep 4, 2011

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
Copy link

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

@benfrancis
Copy link

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
Copy link

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:
#149 (comment)

@cknowles-admin cknowles-admin added the ARCHIVED CLOSED at time of archiving label Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ARCHIVED CLOSED at time of archiving
Projects
None yet
Development

No branches or pull requests

3 participants