gecko/browser/devtools/webconsole/test/test-error.html

22 lines
550 B
HTML
Raw Normal View History

<!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>