Index: tests/html/indexeddb_1_test.dart |
diff --git a/tests/html/indexeddb_1_test.dart b/tests/html/indexeddb_1_test.dart |
index 63b9156a8722b00011db0d931968fa930713b1b3..549b74b3f039d1226dd32b6949d73b90ae880122 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.transaction([storeName], 'readwrite'); |
+ var transaction = db.transactionList([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.transaction([storeName], 'readwrite'); |
+ idb.Transaction transaction = db.transactionList([storeName], 'readwrite'); |
transaction.objectStore(storeName).put(value, key); |
return transaction.completed; |