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

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: 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 | « no previous file | 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 5fced5eed0fba8a4fd4fb2526df61b11b2373157..543cc7bbce5969166b146c4a2f6247dd17afbab0 100644
--- a/Source/devtools/front_end/timeline/TimelineTreeView.js
+++ b/Source/devtools/front_end/timeline/TimelineTreeView.js
@@ -270,7 +270,7 @@ WebInspector.TimelineTreeView.prototype = {
{
if (e.name === WebInspector.TimelineModel.RecordType.JSFrame) {
var data = e.args["data"];
- return "f:" + (data["callUID"] || WebInspector.TimelineTreeView.eventURL(e));
+ return "f:" + data["functionName"] + "@" + (data["scriptId"] || data["url"] || "");
yurys 2015/08/17 19:21:36 Can we have a test for this?
alph 2015/08/17 21:09:34 Done.
}
return e.name + ":@" + WebInspector.TimelineTreeView.eventURL(e);
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698