blob: 161898bf474e76a3cf103520d2e6a39fd4c9b810 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function runTest() {
var svgDoc = document.getElementById("svgobject").getSVGDocument();
document.getElementById("output").innerHTML =
svgDoc ? "FAIL got SVGDocument: " + svgDoc : "PASS";
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body>
<object onload="runTest()"
id="svgobject" data="http://localhost:8080/security/resources/empty-svg.php"
type="image/svg+xml" width="400" height="300"></object>
<div id="output"></div>
</body>
</html>