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

Side by Side Diff: LayoutTests/inspector/profiler/cpu-profiler-bottom-up-times.html

Issue 360053003: DevTools: Basic support of multiple targets for CPU profiler (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/devtools/front_end/profiler/CPUProfileView.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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="profiler-test.js"></script> 4 <script src="profiler-test.js"></script>
5 <script> 5 <script>
6 6
7 function test() 7 function test()
8 { 8 {
9 var profileAndExpectations = { 9 var profileAndExpectations = {
10 "title": "profile1", 10 "title": "profile1",
11 "target": function() {
12 return WebInspector.targetManager.targets()[0];
13 },
11 "_profile": { 14 "_profile": {
12 "head": { 15 "head": {
13 "functionName": "(root)", 16 "functionName": "(root)",
14 "scriptId": "0", 17 "scriptId": "0",
15 "url": "", 18 "url": "",
16 "lineNumber": 0, 19 "lineNumber": 0,
17 "hitCount": 50, 20 "hitCount": 50,
18 "callUID": 1000, 21 "callUID": 1000,
19 "children": [ 22 "children": [
20 { 23 {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 } 112 }
110 113
111 </script> 114 </script>
112 </head> 115 </head>
113 <body onload="runTest()"> 116 <body onload="runTest()">
114 <p> 117 <p>
115 Tests bottom-up view self and total time calculation in CPU profiler. 118 Tests bottom-up view self and total time calculation in CPU profiler.
116 </p> 119 </p>
117 </body> 120 </body>
118 </html> 121 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/profiler/CPUProfileView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698