blob: 7f2ab8014ef8b0f8dcb4480e2d9ccd950fb2d672 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
if (window.testRunner)
testRunner.setDumpConsoleMessages(false);
function test(method, args) {
try {
var request = window.indexedDB[method].call(window.indexedDB, args);
document.write('Successfully called window.indexedDB.' + method + '().<br>');
} catch (exception) {
document.write('window.indexedDB.' + method + '() threw an exception: ' + exception.name + '<br>');
}
}
test('deleteDatabase', 'testDBName');
test('open', 'testDBName');
</script>
</body>
</head>