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

Unified Diff: tests/html/indexeddb_1_test.dart

Issue 18277003: "Reverting 24655" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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
« no previous file with comments | « tests/html/form_data_test.dart ('k') | tests/html/indexeddb_2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/indexeddb_1_test.dart
diff --git a/tests/html/indexeddb_1_test.dart b/tests/html/indexeddb_1_test.dart
index c57f8d11838cd3e83e4f8fee5e05ef91fe17825c..91a1accaec0e0764340a8370a5bffba36cbbd020 100644
--- a/tests/html/indexeddb_1_test.dart
+++ b/tests/html/indexeddb_1_test.dart
@@ -52,7 +52,7 @@ testReadWrite(key, value, matcher,
onUpgradeNeeded: createObjectStore);
}).then((result) {
db = result;
- var transaction = db.transactionList([storeName], 'readwrite');
+ var transaction = db.transaction([storeName], 'readwrite');
transaction.objectStore(storeName).put(value, key);
return transaction.completed;
}).then((_) {
@@ -86,7 +86,7 @@ testReadWriteTyped(key, value, matcher,
onUpgradeNeeded: createObjectStore);
}).then((idb.Database result) {
db = result;
- idb.Transaction transaction = db.transactionList([storeName], 'readwrite');
+ idb.Transaction transaction = db.transaction([storeName], 'readwrite');
transaction.objectStore(storeName).put(value, key);
return transaction.completed;
« no previous file with comments | « tests/html/form_data_test.dart ('k') | tests/html/indexeddb_2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698