| Index: third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp
|
| index a8cf8dd9cc624766c44ce310e7ae722a292bcc1f..5c050996536cbe9cfc20a03c3d2ec4f210204e0d 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp
|
| @@ -29,7 +29,8 @@
|
| #include "bindings/core/v8/ScriptState.h"
|
| #include "bindings/core/v8/V8Binding.h"
|
| #include "bindings/core/v8/V8BindingForTesting.h"
|
| -#include "core/dom/DOMError.h"
|
| +#include "core/dom/DOMException.h"
|
| +#include "core/dom/ExceptionCode.h"
|
| #include "core/dom/ExecutionContext.h"
|
| #include "core/testing/NullExecutionContext.h"
|
| #include "modules/indexeddb/IDBDatabaseCallbacks.h"
|
| @@ -87,7 +88,7 @@ TEST_F(IDBRequestTest, EventsAfterStopping)
|
| executionContext()->stopActiveDOMObjects();
|
|
|
| // Ensure none of the following raise assertions in stopped state:
|
| - request->onError(DOMError::create(AbortError, "Description goes here."));
|
| + request->onError(DOMException::create(AbortError, "Description goes here."));
|
| request->onSuccess(Vector<String>());
|
| request->onSuccess(nullptr, IDBKey::createInvalid(), IDBKey::createInvalid(), IDBValue::create());
|
| request->onSuccess(IDBKey::createInvalid());
|
| @@ -108,7 +109,7 @@ TEST_F(IDBRequestTest, AbortErrorAfterAbort)
|
|
|
| // Now simulate the back end having fired an abort error at the request to clear up any intermediaries.
|
| // Ensure an assertion is not raised.
|
| - request->onError(DOMError::create(AbortError, "Description goes here."));
|
| + request->onError(DOMException::create(AbortError, "Description goes here."));
|
|
|
| // Stop the request lest it be GCed and its destructor
|
| // finds the object in a pending state (and asserts.)
|
|
|