1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/xbl/crashtests/454820-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html><head> 1.6 + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 1.7 + <title>Testcase for bug 454820</title> 1.8 +</head> 1.9 +<body> 1.10 + 1.11 +<p>PASS if Firefox does not crash.</p> 1.12 +<script type="text/javascript"> 1.13 +var evObj = document.createEvent('UIEvents'); 1.14 +evObj.initUIEvent( 'keypress', true, true, window, 1 ); 1.15 +document.getElementsByTagName('p')[0].dispatchEvent(evObj); 1.16 +</script> 1.17 + 1.18 + 1.19 +</body> 1.20 +</html>