| Index: tests/html/indexeddb_2_test.dart
|
| diff --git a/tests/html/indexeddb_2_test.dart b/tests/html/indexeddb_2_test.dart
|
| index f762d143f647afae527cc1d10c5ca965a088df71..2ec96a56f590dc8666e4bea1fbe6525b07caf6f5 100644
|
| --- a/tests/html/indexeddb_2_test.dart
|
| +++ b/tests/html/indexeddb_2_test.dart
|
| @@ -24,22 +24,18 @@ testReadWrite(key, value, check,
|
| var db;
|
| // Delete any existing DBs.
|
| return html.window.indexedDB.deleteDatabase(dbName).then((_) {
|
| - html.window.console.log('open');
|
| return html.window.indexedDB.open(dbName, version: version,
|
| onUpgradeNeeded: createObjectStore);
|
| }).then((result) {
|
| - html.window.console.log('write');
|
| db = result;
|
| var transaction = db.transaction([storeName], 'readwrite');
|
| transaction.objectStore(storeName).put(value, key);
|
|
|
| return transaction.completed;
|
| }).then((db) {
|
| - html.window.console.log('read');
|
| var transaction = db.transaction(storeName, 'readonly');
|
| return transaction.objectStore(storeName).getObject(key);
|
| }).then((object) {
|
| - html.window.console.log('got close');
|
| db.close();
|
| check(value, object);
|
| }).catchError((e) {
|
|
|