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

Unified Diff: tests/html/indexeddb_2_test.dart

Issue 12226134: Fixing Indexed DB's CursorWithValue.value (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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_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) {

Powered by Google App Engine
This is Rietveld 408576698