Index: tests/html/indexeddb_1_test.dart |
diff --git a/tests/html/indexeddb_1_test.dart b/tests/html/indexeddb_1_test.dart |
index 7fb41fb0c7094fd51b72ceee34c04e81d1afc069..c06c0b154ff94c37302d9c0e8bb705c84105e532 100644 |
--- a/tests/html/indexeddb_1_test.dart |
+++ b/tests/html/indexeddb_1_test.dart |
@@ -53,7 +53,7 @@ testReadWrite(key, value, matcher, |
onUpgradeNeeded: createObjectStore); |
}).then((result) { |
db = result; |
- var transaction = db.transaction([storeName], 'readwrite'); |
+ var transaction = db.transactionList([storeName], 'readwrite'); |
transaction.objectStore(storeName).put(value, key); |
return transaction.completed; |
}).then((_) { |
@@ -87,7 +87,7 @@ testReadWriteTyped(key, value, matcher, |
onUpgradeNeeded: createObjectStore); |
}).then((idb.Database result) { |
db = result; |
- idb.Transaction transaction = db.transaction([storeName], 'readwrite'); |
+ idb.Transaction transaction = db.transactionList([storeName], 'readwrite'); |
transaction.objectStore(storeName).put(value, key); |
return transaction.completed; |