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

Unified Diff: LayoutTests/storage/indexeddb/mozilla/resources/remove-objectstore.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-objectstore.js
diff --git a/LayoutTests/storage/indexeddb/mozilla/resources/remove-objectstore.js b/LayoutTests/storage/indexeddb/mozilla/resources/remove-objectstore.js
index a5f50c96d78afc99022aa048a5031ec1dc3a5365..241665431844c85e1f34c9f5734bd991b78446e3 100644
--- a/LayoutTests/storage/indexeddb/mozilla/resources/remove-objectstore.js
+++ b/LayoutTests/storage/indexeddb/mozilla/resources/remove-objectstore.js
@@ -29,7 +29,7 @@ function prepareDatabase()
function checkObjectStore()
{
shouldBe("db.objectStoreNames.length", "1");
- shouldBe("db.objectStoreNames.item(0)", "objectStoreName");
+ shouldBe("db.objectStoreNames[0]", "objectStoreName");
evalAndLog("db.close()");
evalAndLog("request = indexedDB.open(dbname, 2)");
@@ -47,7 +47,7 @@ function inSetVersion2()
objectStore = evalAndLog("objectStore = db.createObjectStore(objectStoreName, { keyPath: 'foo' });");
shouldBe("db.objectStoreNames.length", "1");
- shouldBe("db.objectStoreNames.item(0)", "objectStoreName");
+ shouldBe("db.objectStoreNames[0]", "objectStoreName");
request = evalAndLog("request = objectStore.openCursor();");
request.onerror = unexpectedErrorCallback;

Powered by Google App Engine
This is Rietveld 408576698