gecko/browser/devtools/webconsole/test/test-error.html
Henri Sivonen 95b45892e6 Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug.
--HG--
rename : extensions/universalchardet/tests/bug631751be_text.html => parser/htmlparser/tests/mochitest/file_bug672453_bomless_utf16.html
2012-03-24 13:34:42 +02:00

22 lines
550 B
HTML

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