| Index: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| diff --git a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| index 1c7f4ea8a204c808624cb929ea179ad854b6553f..426330d45a20d6640d05ad28d19aacd341fedfb3 100644
|
| --- a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| +++ b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| @@ -206,7 +206,7 @@ class CursorWithValue extends Cursor native "*IDBCursorWithValue" {
|
| @Experimental
|
| class Database extends EventTarget native "*IDBDatabase" {
|
|
|
| - Transaction transaction(storeName_OR_storeNames, String mode) {
|
| + Transaction transaction(storeName_OR_storeNames, {String mode: 'readonly'}) {
|
| if (mode != 'readonly' && mode != 'readwrite') {
|
| throw new ArgumentError(mode);
|
| }
|
|
|