Index: LayoutTests/storage/indexeddb/resources/shared.js |
diff --git a/LayoutTests/storage/indexeddb/resources/shared.js b/LayoutTests/storage/indexeddb/resources/shared.js |
index 4ac0ccaefdfe3bd0e80491e127f7767d1ac3890d..06a7ba5494bef1cbba41198c3c05b4859d05d6bc 100644 |
--- a/LayoutTests/storage/indexeddb/resources/shared.js |
+++ b/LayoutTests/storage/indexeddb/resources/shared.js |
@@ -120,7 +120,7 @@ function evalAndLogCallback(cmd) { |
function deleteAllObjectStores(db) |
{ |
while (db.objectStoreNames.length) |
- db.deleteObjectStore(db.objectStoreNames.item(0)); |
+ db.deleteObjectStore(db.objectStoreNames[0]); |
debug("Deleted all object stores."); |
} |