| Index: Source/modules/indexeddb/IDBTransaction.cpp
|
| diff --git a/Source/modules/indexeddb/IDBTransaction.cpp b/Source/modules/indexeddb/IDBTransaction.cpp
|
| index 0b6efd00d363b8f2024f44946a21059f4085ce6c..1c79c0e15a395931f39f96766aa726aa458f68f9 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;
|
| }
|
|
|
|
|