summaryrefslogtreecommitdiffstats
path: root/remote/test/browser/runtime/doc_console_events.html
blob: 63b37ce592a42afe027f53990e2268764e931004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
  <title>Empty page</title>

  <script>
    function throwError() {
      let foo = {};
      foo.click();
    }
  </script>
</head>
<body>
  <a id="console-log" href="javascript:console.log('foo')">console.log()</a><br/>
  <a id="console-error" href="javascript:console.error('foo')">console.error()</a><br/>
  <a id="js-error" onclick="throwError()">Javascript Error</a><br/>
</body>
</html>