Index: LayoutTests/storage/indexeddb/mozilla/resources/indexes.js |
diff --git a/LayoutTests/storage/indexeddb/mozilla/resources/indexes.js b/LayoutTests/storage/indexeddb/mozilla/resources/indexes.js |
index 9ffcc96d4040c0cce0462069e549d933f9dcbc9c..94995de7b2668b939e71764a0ea63330e829c2d5 100644 |
--- a/LayoutTests/storage/indexeddb/mozilla/resources/indexes.js |
+++ b/LayoutTests/storage/indexeddb/mozilla/resources/indexes.js |
@@ -93,7 +93,7 @@ function setVersionComplete() |
for (i in indexData) { |
found = false; |
for (j = 0; j < objectStore.indexNames.length; j++) { |
- if (objectStore.indexNames.item(j) == indexData[i].name) { |
+ if (objectStore.indexNames[j] == indexData[i].name) { |
found = true; |
break; |
} |