| Index: tools/dom/templates/html/impl/impl_IDBDatabase.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_IDBDatabase.darttemplate b/tools/dom/templates/html/impl/impl_IDBDatabase.darttemplate
|
| index 3d396ef698399b472137bde13247fb6db1ebcd43..0485ff31c911cf5063807cf59782ad4ddba4229b 100644
|
| --- a/tools/dom/templates/html/impl/impl_IDBDatabase.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_IDBDatabase.darttemplate
|
| @@ -21,7 +21,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
|
| return _createObjectStore(name, options);
|
| }
|
|
|
| -$if DART2JS
|
| Transaction transaction(storeName_OR_storeNames, String mode) {
|
| if (mode != 'readonly' && mode != 'readwrite') {
|
| throw new ArgumentError(mode);
|
| @@ -63,28 +62,5 @@ $if DART2JS
|
|
|
| @JSName('transaction')
|
| Transaction _transaction(stores, mode) native;
|
| -$else
|
| - Transaction transaction(storeName_OR_storeNames, String mode) {
|
| - if (mode != 'readonly' && mode != 'readwrite') {
|
| - throw new ArgumentError("Invalid transaction mode $mode");
|
| - }
|
| - var names;
|
| - if (storeName_OR_storeNames == null) {
|
| - throw new ArgumentError("stores may not be null in transaction");
|
| - } else if (storeName_OR_storeNames is String || storeName_OR_storeNames is DomStringList) {
|
| - names = storeName_OR_storeNames;
|
| - } else if (storeName_OR_storeNames is List<String>) {
|
| - names = convertDartToNative_List(storeName_OR_storeNames);
|
| - } else {
|
| - throw new ArgumentError("Invalid store(s) $store_Name_OR_storeNames");
|
| - }
|
| -
|
| - return _blink.BlinkIDBDatabase.instance.transaction_Callback_2_(this, names, mode);
|
| - }
|
| -
|
| - Transaction transactionList(List<String> storeNames, String mode) => transaction(storeNames, mode);
|
| - Transaction transactionStores(List<String> storeNames, String mode) => transaction(storeNames, mode);
|
| - Transaction transactionStore(String storeName, String mode) => transaction(storeName, mode);
|
| -$endif
|
|
|
| $!MEMBERS}
|
|
|