Skip to content

Instantly share code, notes, and snippets.

@Raynos Raynos/code.js Secret
Created May 12, 2012

Embed
What would you like to do?
try {
// indexedDB.deleteDatabase is undefined
var req = indexedDB.deleteDatabase(name)
} catch (err) {
log("error in deleteDatabase", err.message)
}
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
You can’t perform that action at this time.