<html> | |
<body> | |
<div id="test"><!--SUCESS--></div> | |
<script> | |
if (window.layoutTestController) | |
layoutTestController.dumpAsText(); | |
x = document.getElementById("test").firstChild; | |
if (x && x.nodeType == Node.COMMENT_NODE) | |
document.write(x.nodeValue); | |
else | |
document.write("FAIL"); | |
</script> | |
</body> | |
</html> |