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

Unified Diff: third_party/WebKit/Source/modules/quota/DOMError.cpp

Issue 1362953003: Fire window.onerror for uncaught IndexedDB errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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
« no previous file with comments | « third_party/WebKit/Source/modules/quota/DOMError.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/quota/DOMError.cpp
diff --git a/third_party/WebKit/Source/modules/quota/DOMError.cpp b/third_party/WebKit/Source/modules/quota/DOMError.cpp
index 31513bf3119bc8a7ef8db9e31bde64564b0c6dd8..4882cfeaf107dbd91eb8c12d5c23bc982f257986 100644
--- a/third_party/WebKit/Source/modules/quota/DOMError.cpp
+++ b/third_party/WebKit/Source/modules/quota/DOMError.cpp
@@ -34,4 +34,8 @@ DOMError::DOMError(const String& name) : m_name(name) {}
DOMError::DOMError(const String& name, const String& message)
: m_name(name), m_message(message) {}
+String DOMError::toStringForConsole() const {
+ return name() + ": " + message();
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/quota/DOMError.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698