| Index: tests/html/indexeddb_3_test.dart
|
| diff --git a/tests/html/indexeddb_3_test.dart b/tests/html/indexeddb_3_test.dart
|
| index cd4663b5fcca1b1522600a93843b6ada36c94607..f443b80c41eb768f41eee8faf0e37da5207e9379 100644
|
| --- a/tests/html/indexeddb_3_test.dart
|
| +++ b/tests/html/indexeddb_3_test.dart
|
| @@ -32,7 +32,10 @@ class Test {
|
| db.deleteObjectStore(STORE_NAME);
|
| } catch (IDBDatabaseException e) { }
|
| db.createObjectStore(STORE_NAME);
|
| - writeItems(0);
|
| +
|
| + var transaction = e.target.result;
|
| + transaction.on.complete.add(expectAsync1((e) => writeItems(0)));
|
| + transaction.on.error.add(fail);
|
| })
|
| );
|
| request.on.error.add(fail('setVersion error'));
|
|
|