- Code: Select all
error: true
message: "unknown"
name: "indexed_db_went_bad"
reason: "Failed to open indexedDB, are you in private browsing mode?"
stack: ""
status: 500
<prototype>: {…}
Debugging this in the Firefox dev console the error is thrown when attempting the `get` call in this javascript function:
- Code: Select all
function pouchDbGetNote() {
notesDb.get(notesData.noteDbEntryId)
.then(function (response) {
returnNoteData(response);
}).catch(function (err) {
console.log(err);
});
}
Please note that when the page is loaded, just prior to the `
- Code: Select all
pouchDbGetNote()
- Code: Select all
// Create/get database
try {
notesDb = new PouchDB(notesData.db_name);
} catch (e) {
console.log(e);
}
pouchDbGetNote();
I've dug around in google and have found no real solution other than suggestions that its fixed with a Firefox upgrade and hints that this used to affect IE/Edge also.
The call above is held within a `
- Code: Select all
jQuery(document).ready(function () {