blob: 8c29f88098748e41389c6b480249ee774890c92d [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 sure we execute external scripts inside <svg>.
Test passes if external script runs before second inline script. -->
<div id="console"></div>
<svg>
<g>
<rect id="test">
<script xlink:href="resources/external.js"></script>
<script>
debug("second inline ran!");
</script>
</rect>
</g>
</svg>
</body>
</html>