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

Unified Diff: tests/html/indexeddb_1_test.dart

Issue 12177007: Make mode argument optional for IDB transaction. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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_1_test.dart
diff --git a/tests/html/indexeddb_1_test.dart b/tests/html/indexeddb_1_test.dart
index 92eef204f428a613cb0a6985cb627a6cafdf4f06..142c1fdea51f29b73652e1fe549ba3fa40d09067 100644
--- a/tests/html/indexeddb_1_test.dart
+++ b/tests/html/indexeddb_1_test.dart
@@ -26,7 +26,7 @@ testReadWrite(key, value, matcher,
}
step2(e) {
- var transaction = db.transaction(storeName, 'readonly');
+ var transaction = db.transaction(storeName);
var request = transaction.objectStore(storeName).getObject(key);
request.onSuccess.listen(expectAsync1((e) {
var object = e.target.result;
@@ -102,7 +102,7 @@ testReadWriteTyped(key, value, matcher,
}
step2(e) {
- idb.Transaction transaction = db.transaction(storeName, 'readonly');
+ idb.Transaction transaction = db.transaction(storeName);
idb.Request request = transaction.objectStore(storeName).getObject(key);
request.onSuccess.listen(expectAsync1((e) {
var object = e.target.result;

Powered by Google App Engine
This is Rietveld 408576698