| Index: LayoutTests/inspector/tracing/timeline-js-callstacks.html
|
| diff --git a/LayoutTests/inspector/tracing/timeline-js-callstacks.html b/LayoutTests/inspector/tracing/timeline-js-callstacks.html
|
| index ad260f916e2031c5c5b1fc4531727d42debe7bc3..5de3b3285939e23ec252088a2a9a83c800afb0ce 100644
|
| --- a/LayoutTests/inspector/tracing/timeline-js-callstacks.html
|
| +++ b/LayoutTests/inspector/tracing/timeline-js-callstacks.html
|
| @@ -444,7 +444,10 @@ function test()
|
|
|
| function printProfileTree(padding, node)
|
| {
|
| - InspectorTest.addResult(" ".repeat(padding) + node.name + ": " + [node.selfTime, node.totalTime].map(function (t) { return t.toFixed(3); }).join(" "));
|
| + var name = node.name || (node.event.name === WebInspector.TimelineModel.RecordType.JSFrame
|
| + ? WebInspector.beautifyFunctionName(node.event.args["data"]["functionName"])
|
| + : WebInspector.TimelineUIUtils.eventTitle(node.event));
|
| + InspectorTest.addResult(" ".repeat(padding) + name + ": " + [node.selfTime, node.totalTime].map(function (t) { return t.toFixed(3); }).join(" "));
|
| (node.children || new Map()).forEach(printProfileTree.bind(null, padding + 1));
|
| }
|
|
|
|
|