summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/new-console-output/test/mochitest/test-console-table.html
blob: b7666e50b001610ea146a4bcb0d8f6ea46233557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Simple webconsole test page</title>
  </head>
  <body>
    <p>console.table() test page</p>
    <script>
      function doConsoleTable(data, constrainedHeaders = null) {
        if (constrainedHeaders) {
          console.table(data, constrainedHeaders);
        } else {
          console.table(data);
        }
      }
    </script>
  </body>
</html>