Index: LayoutTests/storage/indexeddb/mozilla/resources/remove-index.js |
diff --git a/LayoutTests/storage/indexeddb/mozilla/resources/remove-index.js b/LayoutTests/storage/indexeddb/mozilla/resources/remove-index.js |
index 32366aa589de566eae5b10b4035f2cd253cdbbc3..d6574708dbcea0dcc28a12631d9f50495af94abf 100644 |
--- a/LayoutTests/storage/indexeddb/mozilla/resources/remove-index.js |
+++ b/LayoutTests/storage/indexeddb/mozilla/resources/remove-index.js |
@@ -20,13 +20,13 @@ function prepareDatabase() |
objectStoreName = "test store"; |
objectStore = evalAndLog("objectStore = db.createObjectStore(objectStoreName, { keyPath: 'foo' });"); |
shouldBe("db.objectStoreNames.length", "1"); |
- shouldBe("db.objectStoreNames.item(0)", "objectStoreName"); |
+ shouldBe("db.objectStoreNames[0]", "objectStoreName"); |
shouldBe("objectStore.indexNames.length", "0"); |
indexName = "My Test Index"; |
index = evalAndLog("index = objectStore.createIndex(indexName, 'foo');"); |
shouldBe("objectStore.indexNames.length", "1"); |
- shouldBe("objectStore.indexNames.item(0)", "indexName"); |
+ shouldBe("objectStore.indexNames[0]", "indexName"); |
evalAndLog("objectStore.deleteIndex(indexName);"); |
shouldBe("objectStore.indexNames.length", "0"); |