1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/base/test/file_bug498897.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +<html> 1.5 +<head> 1.6 + <title>Testcase for bug 498897</title> 1.7 +<script type="application/javascript" language="javascript"> 1.8 +<!-- 1.9 +function test() 1.10 +{ 1.11 + var hadException = false; 1.12 + try { 1.13 + document.createComment('a'); 1.14 + } 1.15 + catch (e) { 1.16 + hadException = true; 1.17 + } 1.18 + parent.ok(!hadException, "Shouldn't have got an exception!"); 1.19 + parent.testFinished(); 1.20 +} 1.21 +//--> 1.22 +</script> 1.23 +</head> 1.24 +<body onload="test();"> 1.25 +</body> 1.26 +</html>