diff options
Diffstat (limited to 'LayoutTests/storage/indexeddb/database-quota.html')
-rw-r--r-- | LayoutTests/storage/indexeddb/database-quota.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/LayoutTests/storage/indexeddb/database-quota.html b/LayoutTests/storage/indexeddb/database-quota.html index aefe6b1..b4207d4 100644 --- a/LayoutTests/storage/indexeddb/database-quota.html +++ b/LayoutTests/storage/indexeddb/database-quota.html @@ -16,7 +16,7 @@ if (window.layoutTestController) function test() { - result = evalAndLog("webkitIndexedDB.open('name', 'description')"); + result = evalAndLog("webkitIndexedDB.open('name')"); verifyResult(result); result.onsuccess = openSuccess; result.onerror = unexpectedErrorCallback; @@ -49,9 +49,9 @@ function createNewObjectStore() verifySuccessEvent(event); shouldBeEqualToString("db.version", "new version"); shouldBeEqualToString("db.name", "name"); - shouldBe("db.objectStores", "[]"); - shouldBe("db.objectStores.length", "0"); - shouldBe("db.objectStores.contains('')", "false"); + shouldBe("db.objectStoreNames", "[]"); + shouldBe("db.objectStoreNames.length", "0"); + shouldBe("db.objectStoreNames.contains('')", "false"); objectStore = evalAndLog('db.createObjectStore("test123")');
checkObjectStore();
@@ -60,11 +60,11 @@ function createNewObjectStore() function checkObjectStore() { - shouldBe("db.objectStores", "['test123']"); - shouldBe("db.objectStores.length", "1"); - shouldBe("db.objectStores.contains('')", "false"); - shouldBe("db.objectStores.contains('test456')", "false"); - shouldBe("db.objectStores.contains('test123')", "true");
+ shouldBe("db.objectStoreNames", "['test123']"); + shouldBe("db.objectStoreNames.length", "1"); + shouldBe("db.objectStoreNames.contains('')", "false"); + shouldBe("db.objectStoreNames.contains('test456')", "false"); + shouldBe("db.objectStoreNames.contains('test123')", "true");
}
function commitAndContinue()
|