blob: 30af2c92984001c68657917eed969d506ea444a4 [file] [log] [blame]
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<!-- Makes sure the insertion point is at the end of the running script.
Test passes if written script runs before second inline script. -->
<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>