summaryrefslogtreecommitdiffstats
path: root/devtools/client/shared/test/browser_toolbar_webconsole_errors_count.html
blob: d09902af06e75d6d923918babac2107f7cd9c156 (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
30
31
32
33
<!DOCTYPE HTML>
<!-- Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/ -->
<html>
<head>
  <meta charset="UTF-8">
  <title>Developer Toolbar Tests - errors count in the Web Console button</title>
  <script type="text/javascript">
    "use strict";
    console.log("foobarBug762996consoleLog");
    window.onload = function () {
      window.foobarBug762996load();
    };
    window.foobarBug762996a();
  </script>
  <script type="text/javascript">
    window.foobarBug762996b();
  </script>
</head>
<body>
  <p>Hello world! Test for errors count in the Web Console button (developer
  toolbar).</p>
  <p style="color: foobarBug762996css"><button>click me</button></p>
  <script type="text/javascript;version=1.8">
    "use strict";
    let testObj = {};
    document.querySelector("button").onclick = function() {
      let test = testObj.fooBug788445 + "warning";
      window.foobarBug762996click();
    };
  </script>
</body>
</html>