Unhandled exception when trying to use msIndexedDB? RRS feed

  • Question

  • Here is my code:

    var request = window.msIndexedDB.open("testDB", 1); request.onsuccess = function (evt) {

            var test = request.result;
            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)

    • Edited by bccollin Thursday, April 26, 2012 6:41 PM
    Thursday, April 26, 2012 6:39 PM