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

Unified Diff: Source/devtools/front_end/timeline/TracingTimelineUIUtils.js

Issue 448743002: DevTools: Linkify console stacks with blackboxing consideration. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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: Source/devtools/front_end/timeline/TracingTimelineUIUtils.js
diff --git a/Source/devtools/front_end/timeline/TracingTimelineUIUtils.js b/Source/devtools/front_end/timeline/TracingTimelineUIUtils.js
index c55ad9c2ecf8d11febfb41c6d950b72880c5558e..7560bbfb9f81cf5d91ff23c245b28c243c478529 100644
--- a/Source/devtools/front_end/timeline/TracingTimelineUIUtils.js
+++ b/Source/devtools/front_end/timeline/TracingTimelineUIUtils.js
@@ -471,9 +471,7 @@ WebInspector.TracingTimelineUIUtils.buildDetailsNodeForTraceEvent = function(eve
if (initiator)
stackTrace = initiator.stackTrace;
}
- if (!stackTrace || !stackTrace.length)
- return null;
- return linkifier.linkifyConsoleCallFrame(target, stackTrace[0], "timeline-details");
+ return linkifier.linkifyTopUnblackboxedConsoleCallFrame(target, stackTrace, "timeline-details");
}
}

Powered by Google App Engine
This is Rietveld 408576698