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

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

Issue 1294183002: DevTools: Tweak id calculation for JSFrames (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline Created 5 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
« no previous file with comments | « LayoutTests/inspector/tracing/timeline-js-callstacks-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/timeline/TimelineTreeView.js
diff --git a/Source/devtools/front_end/timeline/TimelineTreeView.js b/Source/devtools/front_end/timeline/TimelineTreeView.js
index 2c68e09c7ee4e58efe6eca5100fc2233aa926817..baf1335d616645e05179386ce94cf0608532a875 100644
--- a/Source/devtools/front_end/timeline/TimelineTreeView.js
+++ b/Source/devtools/front_end/timeline/TimelineTreeView.js
@@ -266,7 +266,7 @@ WebInspector.TimelineTreeView.eventId = function(event)
{
if (event.name === WebInspector.TimelineModel.RecordType.JSFrame) {
var data = event.args["data"];
- return "f:" + (data["callUID"] || WebInspector.TimelineTreeView.eventURL(event));
+ return "f:" + data["functionName"] + "@" + (data["scriptId"] || data["url"] || "");
}
return event.name + ":@" + WebInspector.TimelineTreeView.eventURL(event);
}
« no previous file with comments | « LayoutTests/inspector/tracing/timeline-js-callstacks-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698