gecko/content/base/test/file_bug498897.html
Peter Van der Beken b5c0609477 Testcase for bug 498897.
--HG--
extra : rebase_source : a70554700d208221bfa8c7349cb11f879341e317
2009-06-19 18:31:49 +02:00

24 lines
409 B
HTML

<html>
<head>
<title>Testcase for bug 498897</title>
<script type="application/javascript" language="javascript">
<!--
function test()
{
var hadException = false;
try {
document.createComment('a');
}
catch (e) {
hadException = true;
}
parent.ok(!hadException, "Shouldn't have got an exception!");
parent.testFinished();
}
//-->
</script>
</head>
<body onload="test();">
</body>
</html>