summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/browser/test-console-group.html
blob: 077cfd002a1fd9ab9ddc5ee6c9ffad7d4a872d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Webconsole console.group test page</title>
  </head>
  <body>
    <p>console.group() & console.groupCollapsed() test page</p>
    <script>
    /* exported doLog */
    "use strict";

    function doLog() {
      console.group("group-1");
      console.log("log-1");
      console.group("group-2");
      console.log("log-2");
      console.groupEnd();
      console.log("log-3");
      console.groupEnd();
      console.log("log-4");
      console.groupCollapsed("group-3");
      console.log("log-5");
      console.groupEnd();
      console.log("log-6");
    }
    </script>
  </body>
</html>