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

Side by Side Diff: LayoutTests/inspector/profiler/heap-snapshot-summary-shown-node-count-preserved-when-sorting.html

Issue 211273005: Do not override data getter in heap snapshot grid nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed unused parameter from findRow Created 6 years, 9 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="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
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698