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

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
This is Rietveld 408576698