summaryrefslogtreecommitdiffstats
path: root/LayoutTests/storage/indexeddb/basics.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/storage/indexeddb/basics.html')
-rw-r--r--LayoutTests/storage/indexeddb/basics.html23
1 files changed, 1 insertions, 22 deletions
diff --git a/LayoutTests/storage/indexeddb/basics.html b/LayoutTests/storage/indexeddb/basics.html
index 2e382b2..2415070 100644
--- a/LayoutTests/storage/indexeddb/basics.html
+++ b/LayoutTests/storage/indexeddb/basics.html
@@ -21,7 +21,7 @@ function test()
// FIXME: Verify other IndexedDatabaseRequest constructors, once they're implemented.
- result = evalAndLog("webkitIndexedDB.open('name', 'description')");
+ result = evalAndLog("webkitIndexedDB.open('name')");
verifyResult(result);
result.onsuccess = openCallback;
result.onerror = unexpectedErrorCallback;
@@ -30,27 +30,6 @@ function test()
function openCallback()
{
verifySuccessEvent(event);
- try {
- debug("webkitIndexedDB.open('name');");
- webkitIndexedDB.open('name');
- testFailed("Calling IDBFactory::open without a description should have thrown.");
- } catch (err) {
- testPassed("Exception thrown.");
- }
- try {
- debug("webkitIndexedDB.open('name', null);");
- webkitIndexedDB.open('name', null);
- testFailed("Calling IDBFactory::open with a null description should have thrown.");
- } catch (err) {
- testPassed("Exception thrown.");
- }
- try {
- debug("webkitIndexedDB.open('name', undefined);");
- webkitIndexedDB.open('name', undefined);
- testFailed("Calling IDBFactory::open with an undefined description should have thrown.");
- } catch (err) {
- testPassed("Exception thrown.");
- }
done();
}