<html>
<head>
<script src="../../resources/js-test.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<!--This test is amazing and doesn't do anything like what you think it does! -->
<div id="console"></div>
<svg>
<g>
<rect id="test">
<script>
document.write('<script>debug("written script ran!");</script>');
</script>
<script>
debug("second inline script ran!");
</script>
</rect>
</g>
</svg>
</body>
</html>