Here is my code:
var request = window.msIndexedDB.open("testDB", 1);
request.onsuccess = function (evt) {
var test = request.result;
console.log(test);
var store = evt.currentTarget.result.createObjectStore("rawr");
};
}
On the line with createObjectStore it just crashes with the error: 0x800a139e - JavaScript runtime error: [object IDBDatabaseException]. What is going on here? The console.log writes [object IDBDatabase].
EDIT: I just tried catching the exception and it has a message: Indexed Database Exception: NOT_ALLOWED_ERR (6)