Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / matrix-as-function-crash.html
blobdabe46d9f5cfc6d035b162b6d5c84882ac3c81ac
1 <html>
2 <head>
3 <title>Calling WebKitCSSMatrix constructor as function should not cause a crash</title>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 function runTest()
10 var result = document.getElementById("result");
11 try {
12 WebKitCSSMatrix();
15 catch (e) {
16 result.innerHTML = "PASS";
17 return;
19 result.innerHTML = "FAIL";
22 </script>
23 </head>
24 <body onload="runTest()">
25 <p>Calling <code>WebKitCSSMatrix</code> constructor as function should throw an exception and not cause a crash.</p>
26 <div id="result"></div>
27 </html>