| Index: Source/modules/indexeddb/IDBTransaction.cpp
|
| diff --git a/Source/modules/indexeddb/IDBTransaction.cpp b/Source/modules/indexeddb/IDBTransaction.cpp
|
| index a0a91e00913013344626a7f473ec0af9599e1217..ef349c9005688750266ee7feb83d197089c21a50 100644
|
| --- a/Source/modules/indexeddb/IDBTransaction.cpp
|
| +++ b/Source/modules/indexeddb/IDBTransaction.cpp
|
| @@ -289,7 +289,7 @@ IndexedDB::TransactionMode IDBTransaction::stringToMode(const String& modeString
|
| if (modeString == IDBTransaction::modeReadWrite())
|
| return IndexedDB::TransactionReadWrite;
|
|
|
| - exceptionState.throwUninformativeAndGenericTypeError();
|
| + exceptionState.throwTypeError("The mode provided ('" + modeString + "') is not one of 'readonly' or 'readwrite'.");
|
| return IndexedDB::TransactionReadOnly;
|
| }
|
|
|
|
|