This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
// indexedDB.deleteDatabase is undefined | |
var req = indexedDB.deleteDatabase(name) | |
} catch (err) { | |
log("error in deleteDatabase", err.message) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: c[d] is undefined | |
at [anonymous]() in /test/factory.js : line: 37, column: 9 | |
at deleteDatabase() in /lib/factory.js : line: 35, column: 19 | |
at [anonymous]() in /lib/factory.js : line: 34, column: 30 | |
at deleteDatabase() in /test/factory.js : line: 37, column: 9 | |
at [anonymous]() in /test/factory.js : line: 34, column: 47 | |
at test() in /test/factory.js : line: 34, column: 5 | |
at [anonymous]() in /test/factory.js : line: 1, column: 27 | |
> indexedStore.deleteDatabase("testling", function (err, result) { | |
> t.equal(err, null, "we have an error") | |
> t.equal(result, null, "result is not null") | |
> t.end() | |
> }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment