layout/xul/crashtests/415394-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/xul/crashtests/415394-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" 
     1.5 +      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     1.6 +      class="reftest-wait">
     1.7 +<head>
     1.8 +<script type="text/javascript">
     1.9 +
    1.10 +function boom()
    1.11 +{
    1.12 +  document.execCommand("justifycenter", false, null);
    1.13 +
    1.14 +  var listboxbody = document.getElementById("lbb");
    1.15 +  listboxbody.height = 9;
    1.16 +  setTimeout(boom2, 0);
    1.17 +
    1.18 +  function boom2()
    1.19 +  {
    1.20 +    var td = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
    1.21 +    listboxbody.appendChild(td);
    1.22 +    document.documentElement.removeAttribute("class");
    1.23 +  }
    1.24 +}
    1.25 +
    1.26 +</script>
    1.27 +</head>
    1.28 +
    1.29 +<body onload="setTimeout(boom, 0);" contenteditable="true"><xul:listboxbody id="lbb"><xul:hbox/><span><col style="width: 100px;" /></span></xul:listboxbody></body>
    1.30 +
    1.31 +</html>

mercurial