Index: LayoutTests/storage/indexeddb/mozilla/resources/remove-objectstore.js |
diff --git a/LayoutTests/storage/indexeddb/mozilla/resources/remove-objectstore.js b/LayoutTests/storage/indexeddb/mozilla/resources/remove-objectstore.js |
index a5f50c96d78afc99022aa048a5031ec1dc3a5365..241665431844c85e1f34c9f5734bd991b78446e3 100644 |
--- a/LayoutTests/storage/indexeddb/mozilla/resources/remove-objectstore.js |
+++ b/LayoutTests/storage/indexeddb/mozilla/resources/remove-objectstore.js |
@@ -29,7 +29,7 @@ function prepareDatabase() |
function checkObjectStore() |
{ |
shouldBe("db.objectStoreNames.length", "1"); |
- shouldBe("db.objectStoreNames.item(0)", "objectStoreName"); |
+ shouldBe("db.objectStoreNames[0]", "objectStoreName"); |
evalAndLog("db.close()"); |
evalAndLog("request = indexedDB.open(dbname, 2)"); |
@@ -47,7 +47,7 @@ function inSetVersion2() |
objectStore = evalAndLog("objectStore = db.createObjectStore(objectStoreName, { keyPath: 'foo' });"); |
shouldBe("db.objectStoreNames.length", "1"); |
- shouldBe("db.objectStoreNames.item(0)", "objectStoreName"); |
+ shouldBe("db.objectStoreNames[0]", "objectStoreName"); |
request = evalAndLog("request = objectStore.openCursor();"); |
request.onerror = unexpectedErrorCallback; |