gecko/dom/base/test/file_bug498897.html

24 lines
409 B
HTML
Raw Normal View History

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