Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp

Issue 2615953003: Rename IGNORE_EXCEPTION to IGNORE_EXCEPTION_FOR_TESTING (Closed)
Patch Set: temp Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
index 560a5d07010ae7f69bfd703a755c0a4f16026a16..173142687331861db12e562b069578cf5fe4eb33 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
@@ -486,7 +486,7 @@ DispatchEventResult IDBRequest::dispatchEventInternal(Event* event) {
dispatchResult == DispatchEventResult::NotCanceled &&
!m_requestAborted) {
m_transaction->setError(m_error);
- m_transaction->abort(IGNORE_EXCEPTION);
+ m_transaction->abort(IGNORE_EXCEPTION_FOR_TESTING);
}
// If this was the last request in the transaction's list, it may commit
@@ -510,7 +510,7 @@ void IDBRequest::uncaughtExceptionInEventHandler() {
if (m_transaction && !m_requestAborted) {
m_transaction->setError(DOMException::create(
AbortError, "Uncaught exception in event handler."));
- m_transaction->abort(IGNORE_EXCEPTION);
+ m_transaction->abort(IGNORE_EXCEPTION_FOR_TESTING);
}
}

Powered by Google App Engine
This is Rietveld 408576698