Chromium Code Reviews| Index: LayoutTests/svg/animations/remove-begin-event-crash.html |
| diff --git a/LayoutTests/svg/animations/remove-begin-event-crash.html b/LayoutTests/svg/animations/remove-begin-event-crash.html |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..3d8c7a45ed89825a168d155497f20c0e57f9f5b8 |
| --- /dev/null |
| +++ b/LayoutTests/svg/animations/remove-begin-event-crash.html |
| @@ -0,0 +1,22 @@ |
| +<!DOCTYPE HTML> |
| +<html onload="tCFcrash();"> |
|
Stephen Chennney
2014/01/27 15:24:28
Rename methods and variables to something meaningf
pavane
2014/01/27 17:01:19
Done.
|
| +<head> |
| + <script> |
| + function tCFcrash() { |
| + tCF4.removeAttribute("begin"); |
| + tCF4.parentNode.removeChild(tCF4); |
| + delete tCF4; |
| + } |
| + if (window.testRunner) |
| + testRunner.dumpAsText(); |
| + </script> |
| +</head> |
| +<body> |
| +Test for crbug.com/338124: This test passes if it does not crash.<br/> |
|
Stephen Chennney
2014/01/27 15:24:28
We generally do not reference the bug in the test
pavane
2014/01/27 17:01:19
Done.
|
| +PASS |
| +<svg> |
| + <animate id="anim" attributeName="visibility" /> |
| + <set begin="anim.beginEvent" id="tCF4" to="100" attributeName="width" /> |
| +</svg> |
| +</body> |
| +</html> |