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

Unified Diff: Source/core/dom/DOMError.cpp

Issue 243523003: Fire window.onerror for uncaught IndexedDB errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased and linkage fix Created 5 years, 3 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 | « Source/core/dom/DOMError.h ('k') | Source/core/events/ErrorEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMError.cpp
diff --git a/Source/core/dom/DOMError.cpp b/Source/core/dom/DOMError.cpp
index 4f2a7be0eed9f1f27038137276c657bf251fb82e..a2ee85f1436b0f1d2948f02cc1112163cca09fa2 100644
--- a/Source/core/dom/DOMError.cpp
+++ b/Source/core/dom/DOMError.cpp
@@ -40,4 +40,9 @@ DOMError::DOMError(const String& name, const String& message)
{
}
+String DOMError::toStringForConsole() const
+{
+ return name() + ": " + message();
+}
+
} // namespace blink
« no previous file with comments | « Source/core/dom/DOMError.h ('k') | Source/core/events/ErrorEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698