OLD | NEW |
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="heap-snapshot-test.js"></script> | 4 <script src="heap-snapshot-test.js"></script> |
5 <script> | 5 <script> |
6 | 6 |
7 function test() | 7 function test() |
8 { | 8 { |
9 WebInspector.inspectorView.showPanel("profiles"); | 9 WebInspector.inspectorView.showPanel("profiles"); |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 var columns; | 27 var columns; |
28 function step2() | 28 function step2() |
29 { | 29 { |
30 columns = InspectorTest.viewColumns(); | 30 columns = InspectorTest.viewColumns(); |
31 InspectorTest.clickColumn(columns[0], step3); | 31 InspectorTest.clickColumn(columns[0], step3); |
32 } | 32 } |
33 | 33 |
34 function step3() | 34 function step3() |
35 { | 35 { |
36 var row = InspectorTest.findRow("object", "B"); | 36 var row = InspectorTest.findRow("B"); |
37 InspectorTest.assertEquals(true, !!row, "\"B\" row"); | 37 InspectorTest.assertEquals(true, !!row, "\"B\" row"); |
38 InspectorTest.expandRow(row, showNext); | 38 InspectorTest.expandRow(row, showNext); |
39 function showNext(row) | 39 function showNext(row) |
40 { | 40 { |
41 var buttonsNode = InspectorTest.findButtonsNode(row); | 41 var buttonsNode = InspectorTest.findButtonsNode(row); |
42 InspectorTest.assertEquals(true, !!buttonsNode, "no buttons
node found!"); | 42 InspectorTest.assertEquals(true, !!buttonsNode, "no buttons
node found!"); |
43 InspectorTest.clickShowMoreButton("showNext", buttonsNode, s
tep4); | 43 InspectorTest.clickShowMoreButton("showNext", buttonsNode, s
tep4); |
44 } | 44 } |
45 } | 45 } |
46 | 46 |
(...skipping 26 matching lines...) Expand all Loading... |
73 | 73 |
74 </script> | 74 </script> |
75 </head> | 75 </head> |
76 <body onload="runTest()"> | 76 <body onload="runTest()"> |
77 <p> | 77 <p> |
78 Tests Summary view of detailed heap snapshots. | 78 Tests Summary view of detailed heap snapshots. |
79 Shown node count must be preserved after sorting. | 79 Shown node count must be preserved after sorting. |
80 </p> | 80 </p> |
81 </body> | 81 </body> |
82 </html> | 82 </html> |
OLD | NEW |