Chromium Code Reviews| 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)); |
|
philipj_slow
2015/03/06 03:03:49
Can you leave one use of item() in the tests so th
jsbell
2015/03/06 17:19:20
Sure. The behavior of item() is covered in fast/do
|
| + db.deleteObjectStore(db.objectStoreNames[0]); |
| debug("Deleted all object stores."); |
| } |