• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2  <head>
3    <title>Heap Profiler: basic grid functionality test</title>
4  </head>
5  <body>
6    This is the test for basic functionality of heap snapshot view grid.
7    <br>
8    <br>
9    To use this test:
10    <ul>
11      <li>load file in the browser;
12      <li>open DevTools (Ctrl+Shift+I on Win/Linux, Command+Option+I on Mac);
13      <li>go to 'Profiles' page;
14      <li>press 'Take heap snapshot' button
15        (eye icon on the left side of status bar);
16    </ul>
17    <br>
18    On the left pane under 'Heap snapshots' section, an item called
19    'Snapshot 1' must appear, and a grid with snapshot data must
20    appear on the right. Now test the following functionality in the grid:
21    <ul>
22      <li>change sorting order in each column by clicking on its header;
23      <li>resize each column;
24      <li>toggle between showing absolute times and percents
25        (button with percent sign on the status bar);
26      <li>double-click on numbers in 'Count' and
27        'Size' columns to toggle between times and percents for
28        this column only;
29      <li>expanding and collapsing tree nodes.
30    </ul>
31  </body>
32</html>
33