| Index: tests/html/indexeddb_4_test.dart
|
| diff --git a/tests/html/indexeddb_4_test.dart b/tests/html/indexeddb_4_test.dart
|
| index 6704af095d14de3fcac77dc88e5a53d00f13d78a..8f242efd2ce153fa3bf6669d84d62461709bf701 100644
|
| --- a/tests/html/indexeddb_4_test.dart
|
| +++ b/tests/html/indexeddb_4_test.dart
|
| @@ -73,7 +73,7 @@ class Test {
|
|
|
| writeItems(int index) {
|
| if (index < 100) {
|
| - var transaction = db.transaction([STORE_NAME], 'readwrite');
|
| + var transaction = db.transaction([STORE_NAME], mode : 'readwrite');
|
| var request = transaction.objectStore(STORE_NAME)
|
| .put('Item $index', index);
|
| request.onSuccess.listen(expectAsync1((e) {
|
| @@ -87,7 +87,7 @@ class Test {
|
| setupDb() { _createAndOpenDb(() => writeItems(0)); }
|
|
|
| testRange(range, expectedFirst, expectedLast) {
|
| - Transaction txn = db.transaction(STORE_NAME, 'readonly');
|
| + Transaction txn = db.transaction(STORE_NAME, mode : 'readonly');
|
| ObjectStore objectStore = txn.objectStore(STORE_NAME);
|
| Request cursorRequest = objectStore.openCursor(range);
|
| int itemCount = 0;
|
|
|