Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: LayoutTests/storage/indexeddb/mozilla/resources/remove-index.js

Issue 966843002: Mark DOMStringList.contains() as deprecated, add console warning. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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");

Powered by Google App Engine
This is Rietveld 408576698