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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-aggregated-details.html

Issue 2010943002: DevTools: Add grouping by Activity to Timeline treeview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: layout test got resultz Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/timeline-test.js"></script> 4 <script src="../../http/tests/inspector/timeline-test.js"></script>
5 <script> 5 <script>
6 function initialize_EventsView()
7 {
8 Runtime.experiments.enableForTest("timelineEventsTreeView");
9 }
10 6
11 function test() 7 function test()
12 { 8 {
13 var sessionId = "6.23"; 9 var sessionId = "6.23";
14 var rawTraceEvents = [ 10 var rawTraceEvents = [
15 { 11 {
16 "args": { 12 "args": {
17 "name": "Renderer" 13 "name": "Renderer"
18 }, 14 },
19 "cat": "__metadata", 15 "cat": "__metadata",
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 InspectorTest.addResult(" ".repeat(padding) + name + ": " + [node.selfT ime, node.totalTime].map(function (t) { return t.toFixed(3); }).join(" ")); 611 InspectorTest.addResult(" ".repeat(padding) + name + ": " + [node.selfT ime, node.totalTime].map(function (t) { return t.toFixed(3); }).join(" "));
616 (node.children || new Map()).forEach(printEventTree.bind(null, padding + 1)); 612 (node.children || new Map()).forEach(printEventTree.bind(null, padding + 1));
617 } 613 }
618 } 614 }
619 615
620 </script> 616 </script>
621 </head> 617 </head>
622 <body onload="runTest()"> 618 <body onload="runTest()">
623 </body> 619 </body>
624 </html> 620 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698