Chromium Code Reviews

Unified Diff: LayoutTests/storage/indexeddb/resources/shared.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.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/storage/indexeddb/resources/shared.js
diff --git a/LayoutTests/storage/indexeddb/resources/shared.js b/LayoutTests/storage/indexeddb/resources/shared.js
index 94010bb6b5005e845042f3ec8171320ac6e9953b..42198fa6481624641ffb0e5aaf6dfe2ce90a4ba0 100644
--- a/LayoutTests/storage/indexeddb/resources/shared.js
+++ b/LayoutTests/storage/indexeddb/resources/shared.js
@@ -114,7 +114,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.");
}

Powered by Google App Engine