blob: 25bc7960151335c802bd126a2d3fbf8f24d68fb6 [file] [log] [blame]
<html>
<head>
<script src="../../fast/js/resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<!-- Makes scripts nested scripts run immediately and don't hang.
Test passes if nested script runs before inline script finishes. -->
<div id="console"></div>
<svg>
<g>
<rect id="test">
<script>
nested = document.createElement("script");
nested.innerHTML = 'debug("nested script ran!");';
document.getElementsByTagName("head")[0].appendChild(nested);
debug("inline script done!");
</script>
</rect>
</g>
</svg>
</body>
</html>