blob: 9e2a974eccb671b417c5c4c7d9ce0f722829ce39 [file] [log] [blame]
<html>
<head>
<title>Calling WebKitCSSMatrix constructor as function should not cause a crash</title>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
function runTest()
{
var result = document.getElementById("result");
try {
WebKitCSSMatrix();
}
catch (e) {
result.innerHTML = "PASS";
return;
}
result.innerHTML = "FAIL";
}
</script>
</head>
<body onload="runTest()">
<p>Calling <code>WebKitCSSMatrix</code> constructor as function should throw an exception and not cause a crash.</p>
<div id="result"></div>
</html>