diff options
author | Shimeng (Simon) Wang <swang@google.com> | 2010-12-07 17:22:45 -0800 |
---|---|---|
committer | Shimeng (Simon) Wang <swang@google.com> | 2010-12-22 14:15:40 -0800 |
commit | 4576aa36e9a9671459299c7963ac95aa94beaea9 (patch) | |
tree | 3863574e050f168c0126ecb47c83319fab0972d8 /LayoutTests/storage/indexeddb/database-basics.html | |
parent | 55323ac613cc31553107b68603cb627264d22bb0 (diff) | |
download | external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.zip external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.tar.gz external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.tar.bz2 |
Merge WebKit at r73109: Initial merge by git.
Change-Id: I61f1a66d9642e3d8405d3ac6ccab2a53421c75d8
Diffstat (limited to 'LayoutTests/storage/indexeddb/database-basics.html')
-rw-r--r-- | LayoutTests/storage/indexeddb/database-basics.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/LayoutTests/storage/indexeddb/database-basics.html b/LayoutTests/storage/indexeddb/database-basics.html index 31c887b..b070de0 100644 --- a/LayoutTests/storage/indexeddb/database-basics.html +++ b/LayoutTests/storage/indexeddb/database-basics.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; @@ -68,11 +68,11 @@ function createObjectStore() verifySuccessEvent(event); shouldBeEqualToString("db.version", "version b"); shouldBeEqualToString("db.name", "name"); - shouldBe("db.objectStores", "[]"); - shouldBe("db.objectStores.length", "0"); - shouldBe("db.objectStores.contains('')", "false"); - shouldBeNull("db.objectStores[0]"); - shouldBeNull("db.objectStores.item(0)"); + shouldBe("db.objectStoreNames", "[]"); + shouldBe("db.objectStoreNames.length", "0"); + shouldBe("db.objectStoreNames.contains('')", "false"); + shouldBeNull("db.objectStoreNames[0]"); + shouldBeNull("db.objectStoreNames.item(0)"); objectStore = evalAndLog('db.createObjectStore("test123")'); checkObjectStore(); @@ -81,11 +81,11 @@ function createObjectStore() 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() |