| Index: Source/modules/indexeddb/IDBRequest.cpp
|
| diff --git a/Source/modules/indexeddb/IDBRequest.cpp b/Source/modules/indexeddb/IDBRequest.cpp
|
| index b13b961ce7f4bb0b691d0b2dd8a9492b7792bb08..1d012ecbb7679c973f7a8d30cb453f2da7cdee72 100644
|
| --- a/Source/modules/indexeddb/IDBRequest.cpp
|
| +++ b/Source/modules/indexeddb/IDBRequest.cpp
|
| @@ -95,7 +95,7 @@ IDBRequest::~IDBRequest()
|
| PassRefPtr<IDBAny> IDBRequest::result(ExceptionState& es) const
|
| {
|
| if (m_readyState != DONE) {
|
| - es.throwDOMException(InvalidStateError);
|
| + es.throwDOMException(InvalidStateError, IDBDatabase::requestNotFinishedMessage);
|
| return 0;
|
| }
|
| return m_result;
|
| @@ -104,7 +104,7 @@ PassRefPtr<IDBAny> IDBRequest::result(ExceptionState& es) const
|
| PassRefPtr<DOMError> IDBRequest::error(ExceptionState& es) const
|
| {
|
| if (m_readyState != DONE) {
|
| - es.throwDOMException(InvalidStateError);
|
| + es.throwDOMException(InvalidStateError, IDBDatabase::requestNotFinishedMessage);
|
| return 0;
|
| }
|
| return m_error;
|
|
|