| Index: tests/html/indexeddb_3_test.dart
|
| diff --git a/tests/html/indexeddb_3_test.dart b/tests/html/indexeddb_3_test.dart
|
| index 8df40145bd2c0a00119ce7f0d15731721c3d7fc6..cf6f08a50d934fa48652d758006d100545248125 100644
|
| --- a/tests/html/indexeddb_3_test.dart
|
| +++ b/tests/html/indexeddb_3_test.dart
|
| @@ -40,7 +40,7 @@ class Test {
|
|
|
| writeItems(int index) {
|
| if (index < 100) {
|
| - var transaction = db.transaction([STORE_NAME], IDBTransaction.READ_WRITE);
|
| + var transaction = db.transaction([STORE_NAME], 'readwrite');
|
| var request = transaction.objectStore(STORE_NAME)
|
| .put('Item $index', index);
|
| request.on.success.add(expectAsync1((e) {
|
| @@ -58,7 +58,7 @@ class Test {
|
| };
|
|
|
| readAllViaCursor() {
|
| - IDBTransaction txn = db.transaction(STORE_NAME, IDBTransaction.READ_ONLY);
|
| + IDBTransaction txn = db.transaction(STORE_NAME, 'readonly');
|
| IDBObjectStore objectStore = txn.objectStore(STORE_NAME);
|
| IDBRequest cursorRequest = objectStore.openCursor();
|
| int itemCount = 0;
|
|
|