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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8ConsoleMessage.h

Issue 2170263002: [DevTools] Pass error object when reporting exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: worklets! Created 4 years, 5 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/platform/v8_inspector/V8ConsoleMessage.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8ConsoleMessage.h b/third_party/WebKit/Source/platform/v8_inspector/V8ConsoleMessage.h
index c5a80cc902a83b979572376e6e7d7bd41eb3d4e6..373f9f7d6875d70771545942dccbe823b8eef2e8 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8ConsoleMessage.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8ConsoleMessage.h
@@ -36,13 +36,14 @@ public:
static std::unique_ptr<V8ConsoleMessage> createForException(
double timestamp,
- const String16& message,
+ const String16& detailedMessage,
const String16& url,
unsigned lineNumber,
unsigned columnNumber,
std::unique_ptr<V8StackTraceImpl>,
int scriptId,
v8::Isolate*,
+ const String16& message,
int contextId,
v8::Local<v8::Value> exception,
unsigned exceptionId);
@@ -79,6 +80,7 @@ private:
unsigned m_exceptionId;
unsigned m_revokedExceptionId;
Arguments m_arguments;
+ String16 m_detailedMessage;
};
class V8ConsoleMessageStorage {

Powered by Google App Engine
This is Rietveld 408576698