| Index: Source/modules/indexeddb/IDBTransaction.cpp
|
| diff --git a/Source/modules/indexeddb/IDBTransaction.cpp b/Source/modules/indexeddb/IDBTransaction.cpp
|
| index f5c4c8d884ea67720fd038f00449e61e3b615e3e..b9a89782f00b6af21a80428ec1eb7a35ea9f16da 100644
|
| --- a/Source/modules/indexeddb/IDBTransaction.cpp
|
| +++ b/Source/modules/indexeddb/IDBTransaction.cpp
|
| @@ -139,7 +139,7 @@ void IDBTransaction::setError(PassRefPtr<DOMError> error)
|
| PassRefPtr<IDBObjectStore> IDBTransaction::objectStore(const String& name, ExceptionState& es)
|
| {
|
| if (m_state == Finished) {
|
| - es.throwDOMException(InvalidStateError);
|
| + es.throwDOMException(InvalidStateError, IDBDatabase::transactionFinishedMessage);
|
| return 0;
|
| }
|
|
|
| @@ -148,14 +148,14 @@ PassRefPtr<IDBObjectStore> IDBTransaction::objectStore(const String& name, Excep
|
| return it->value;
|
|
|
| if (!isVersionChange() && !m_objectStoreNames.contains(name)) {
|
| - es.throwDOMException(NotFoundError, IDBDatabase::notFoundErrorMessage);
|
| + es.throwDOMException(NotFoundError, IDBDatabase::noSuchObjectStoreMessage);
|
| return 0;
|
| }
|
|
|
| int64_t objectStoreId = m_database->findObjectStoreId(name);
|
| if (objectStoreId == IDBObjectStoreMetadata::InvalidId) {
|
| ASSERT(isVersionChange());
|
| - es.throwDOMException(NotFoundError, IDBDatabase::notFoundErrorMessage);
|
| + es.throwDOMException(NotFoundError, IDBDatabase::noSuchObjectStoreMessage);
|
| return 0;
|
| }
|
|
|
| @@ -204,7 +204,7 @@ void IDBTransaction::setActive(bool active)
|
| void IDBTransaction::abort(ExceptionState& es)
|
| {
|
| if (m_state == Finishing || m_state == Finished) {
|
| - es.throwDOMException(InvalidStateError);
|
| + es.throwDOMException(InvalidStateError, IDBDatabase::transactionFinishedMessage);
|
| return;
|
| }
|
|
|
|
|