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

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

Issue 2154623002: [DevTools] Make most fields of ExceptionDetails non-optional. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 bf764a52096169df731f5bea8c61e9ae39a9b900..260c94c3fe52ab0791c91ac54700c449fd8b2ae8 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
@@ -371,11 +371,11 @@ WebInspector.RuntimeDispatcher.prototype = {
details.text,
undefined,
details.url,
- typeof details.lineNumber === "undefined" ? undefined : details.lineNumber + 1,
- typeof details.columnNumber === "undefined" ? undefined : details.columnNumber + 1,
+ details.lineNumber + 1,
+ details.columnNumber + 1,
undefined,
exception ? ["Uncaught (in promise)", exception] : undefined,
- details.stack,
+ details.stackTrace,
timestamp,
executionContextId,
details.scriptId);

Powered by Google App Engine
This is Rietveld 408576698