<script>
if (window.testRunner)
    testRunner.dumpAsText();
alert('This test passes if the text "&g" appears below.');
</script>
This test passes if it doesn't crash.
<iframe onload="document.open();document.write('&g');document.close();" >
