blob: 70872018cd447221066325c3fbe9f07e2871b65f [file] [log] [blame]
<?xml version="1.0"?>
<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" onload="test()">
<defs>
<script type="text/javascript">
function test() {
if (window.testRunner) {
testRunner.dumpAsText();
}
if (!document.getElementById("s0").async)
document.getElementById("p0").innerHTML = "PASS";
}
</script>
<script type="text/javascript" id="s0" xlink:href="resources/thisShouldNotExist.null" async="async"></script>
</defs>
<foreignObject>
<xhtml:p>Tests that the async attribute is not supported for SVG scripts.</xhtml:p>
<xhtml:span id="p0">FAIL</xhtml:span>
</foreignObject>
</svg>