blob: 2b2699a8821958a2857aeab0bf6cd8288102a223 [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 onload="runTest()">
<iframe id="svgobject" src="http://localhost:8080/security/resources/empty-svg.py"
width="400" height="300"></iframe>
<div id="output"></div>
</body>
</html>