<html>
<head>
<script src="../../resources/js-test.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<div id="console"></div>
<svg>
<g>
<rect id="test">
<script>
document.write('<scr' + 'ipt>debug("written script ran!");</scr' + 'ipt>');
</script>
<script>
debug("second inline script ran!");
</script>
</rect>
</g>
</svg>
</body>
</html>