Chromium Code Reviews| 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 22108595fa2491e0c06e3dc3b621a5fa7e8bbd24..f214f1fa68e316aabae58c118017927d1b0f018d 100644 |
| --- a/LayoutTests/inspector/tracing/timeline-js-callstacks.html |
| +++ b/LayoutTests/inspector/tracing/timeline-js-callstacks.html |
| @@ -400,7 +400,7 @@ function test() |
| function printProfileTree(padding, node) |
| { |
| - InspectorTest.addResult(" ".repeat(padding) + node.name + ": " + node.totalTime.toFixed(3)); |
| + InspectorTest.addResult(" ".repeat(padding) + node.name + ": " + [node.selfTime, node.totalTime].map(t => t.toFixed(3)).join(" ")); |
|
yurys
2015/08/14 22:59:27
Let's hold off using arrow functions as we agreed,
alph
2015/08/15 08:09:12
Done.
|
| (node.children || new Map()).forEach(printProfileTree.bind(null, padding + 1)); |
| } |