gfx/tests/crashtests/393822-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/tests/crashtests/393822-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     1.5 +<head>
     1.6 +<script>
     1.7 +
     1.8 +var ff;
     1.9 +var jj;
    1.10 +
    1.11 +function boom()
    1.12 +{
    1.13 +  ff = document.createElement("font");
    1.14 +  ff.setAttribute("size", "-2");
    1.15 +  ff.appendChild(document.createTextNode("G"));
    1.16 +  
    1.17 +  jj = document.getElementById("jj");
    1.18 +  
    1.19 +  jj.appendChild(ff);
    1.20 +  setTimeout(boom2, 30);
    1.21 +}
    1.22 +
    1.23 +function boom2()
    1.24 +{
    1.25 +  jj.removeChild(ff);
    1.26 +  
    1.27 +  document.documentElement.removeAttribute("class");
    1.28 +}
    1.29 +  
    1.30 +</script>
    1.31 +</head>
    1.32 +
    1.33 +<body onload="boom();" dir="rtl"><div id="jj">h </div></body>
    1.34 +
    1.35 +</html>

mercurial