mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
3c3858b23e
--HG-- extra : rebase_source : a70554700d208221bfa8c7349cb11f879341e317
24 lines
409 B
HTML
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>
|