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

Unified Diff: tests/html/indexeddb_1_test.dart

Issue 16494002: Expand overloaded methods and optional parameters in the html library. (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
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;

Powered by Google App Engine
This is Rietveld 408576698