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