<html>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
// <!-- </script> -->
document.write('This should not invoke document.write.');
</script>
</body>
</html>
<html>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
// <!-- </script> -->
document.write('This should not invoke document.write.');
</script>
</body>
</html>