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

Unified Diff: tests/html/indexeddb_4_test.dart

Issue 12181021: Revert IDB optional mode parameter. (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
« no previous file with comments | « tests/html/indexeddb_3_test.dart ('k') | tools/dom/templates/html/dart2js/impl_IDBDatabase.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/indexeddb_4_test.dart
diff --git a/tests/html/indexeddb_4_test.dart b/tests/html/indexeddb_4_test.dart
index 8f242efd2ce153fa3bf6669d84d62461709bf701..6704af095d14de3fcac77dc88e5a53d00f13d78a 100644
--- a/tests/html/indexeddb_4_test.dart
+++ b/tests/html/indexeddb_4_test.dart
@@ -73,7 +73,7 @@ class Test {
writeItems(int index) {
if (index < 100) {
- var transaction = db.transaction([STORE_NAME], mode : 'readwrite');
+ var transaction = db.transaction([STORE_NAME], 'readwrite');
var request = transaction.objectStore(STORE_NAME)
.put('Item $index', index);
request.onSuccess.listen(expectAsync1((e) {
@@ -87,7 +87,7 @@ class Test {
setupDb() { _createAndOpenDb(() => writeItems(0)); }
testRange(range, expectedFirst, expectedLast) {
- Transaction txn = db.transaction(STORE_NAME, mode : 'readonly');
+ Transaction txn = db.transaction(STORE_NAME, 'readonly');
ObjectStore objectStore = txn.objectStore(STORE_NAME);
Request cursorRequest = objectStore.openCursor(range);
int itemCount = 0;
« no previous file with comments | « tests/html/indexeddb_3_test.dart ('k') | tools/dom/templates/html/dart2js/impl_IDBDatabase.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698