2010-07-26 09:35:12 -07:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html dir="ltr" xml:lang="en-US" lang="en-US">
|
|
|
|
<head>
|
2012-03-24 04:34:42 -07:00
|
|
|
<meta charset="utf-8">
|
2010-07-26 09:35:12 -07:00
|
|
|
<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];
|
|
|
|
|
2010-10-11 09:57:56 -07:00
|
|
|
button.addEventListener("click", function clicker () {
|
|
|
|
button.removeEventListener("click", clicker, false);
|
2010-07-26 09:35:12 -07:00
|
|
|
fooBazBaz.bar();
|
|
|
|
}, false);
|
|
|
|
// --></script>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|