25 lines
727 B
HTML
25 lines
727 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
function test()
|
|
{
|
|
htmlDocument = document.implementation.createHTMLDocument();
|
|
svgElement = htmlDocument.createElementNS("http://www.w3.org/2000/svg","svg");
|
|
// Implementations of following APIs access Frame object, which can be NULL.
|
|
svgElement.deselectAll();
|
|
svgElement.currentScale = svgElement.currentScale;
|
|
|
|
document.getElementById("console").innerHTML = "OK unless it got crashed.";
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="test()">
|
|
<h1>Test to access Frame related APIs on orphan SVGSVGElement</h1>
|
|
<div>For <a href="https://bugs.webkit.org/show_bug.cgi?id=31545">Bug 31545</a>.</div>
|
|
<div id="console"></div>
|
|
</body>
|
|
</html>
|