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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js

Issue 2170263002: [DevTools] Pass error object when reporting exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo 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/devtools/front_end/sdk/RuntimeModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
index 2d3af7f8fc4b97e339bbc84b3cd879829d535e2c..b6698009f531708ae9b2c846cd1bfb51b3a37ffe 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
@@ -377,7 +377,7 @@ WebInspector.RuntimeDispatcher.prototype = {
details.lineNumber,
details.columnNumber,
undefined,
- exception ? ["Uncaught (in promise)", exception] : undefined,
+ exception ? [WebInspector.RemoteObject.fromLocalObject(details.text), exception] : undefined,
details.stackTrace,
timestamp,
executionContextId,

Powered by Google App Engine
This is Rietveld 408576698