summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/test-error.html
blob: abf62a3f10d7b9d3cc2fcc97291752380a16b598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE HTML>
<html dir="ltr" xml:lang="en-US" lang="en-US">
  <head>
    <meta charset="utf-8">
    <title>Console error test</title>
  </head>
  <body>
    <h1>Heads Up Display - error test</h1>
    <p><button>generate error</button></p>

    <script type="text/javascript"><!--
      var button = document.getElementsByTagName("button")[0];

      button.addEventListener("click", function clicker () {
        button.removeEventListener("click", clicker, false);
        fooBazBaz.bar();
      }, false);
    // --></script>
  </body>
</html>