blob: dabe46d9f5cfc6d035b162b6d5c84882ac3c81ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<html>
<head>
<title>Calling WebKitCSSMatrix constructor as function should not cause a crash</title>
<script>
if (window.testRunner)
testRunner.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>
|