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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js

Issue 1666563005: DevTools: merge ScriptCallStack and ScriptAsyncCallStack, move CallStacks from console to Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: testts Created 4 years, 10 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/sources/SourcesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
index 1341f430062c37ec7edc3b125a03f58c736c1d32..8b98d888eccf4f577b34dbc6d6f58163fb4c9bc9 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
@@ -282,7 +282,7 @@ WebInspector.SourcesPanel.prototype = {
if (Runtime.experiments.isEnabled("stepIntoAsync")) {
var operationId = details.auxData["operationId"];
var operation = this.sidebarPanes.asyncOperationBreakpoints.operationById(details.target(), operationId);
- var description = (operation && operation.description) || WebInspector.UIString("<unknown>");
+ var description = (operation && operation.stack && operation.stack.description) || WebInspector.UIString("<unknown>");
this.sidebarPanes.callstack.setStatus(WebInspector.UIString("Paused on a \"%s\" async operation.", description));
this.sidebarPanes.asyncOperationBreakpoints.highlightBreakpoint(operationId);
}

Powered by Google App Engine
This is Rietveld 408576698