| 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 9578e2decc23ce1cae4c3b660f236fe8a1164556..fdc5c72c1bf12681cab02e6545db0b1dd42e6e4d 100644
|
| --- a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| +++ b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
|
| @@ -206,8 +206,7 @@ class CursorWithValue extends Cursor native "*IDBCursorWithValue" {
|
| @Experimental
|
| class Database extends EventTarget native "*IDBDatabase" {
|
|
|
| - Transaction transaction(storeName_OR_storeNames, {String mode}) {
|
| - if (mode == null) mode = 'readonly';
|
| + Transaction transaction(storeName_OR_storeNames, String mode) {
|
| if (mode != 'readonly' && mode != 'readwrite') {
|
| throw new ArgumentError(mode);
|
| }
|
|
|