layout/generic/crashtests/369038-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/generic/crashtests/369038-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     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 +
     1.8 +<head>
     1.9 +<script>
    1.10 +
    1.11 +var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
    1.12 +
    1.13 +function boom()
    1.14 +{
    1.15 +  var hbox = document.getElementById("hbox");
    1.16 +  var checkbox = document.createElementNS(XUL_NS, "checkbox");
    1.17 +    
    1.18 +  hbox.appendChild(checkbox);
    1.19 +  
    1.20 +  document.documentElement.removeAttribute("class");
    1.21 +}
    1.22 +
    1.23 +</script>
    1.24 +</head>
    1.25 +
    1.26 +<body onload="setTimeout(boom, 30)">
    1.27 +
    1.28 +<xul:scrollbar><span><xul:hbox id="hbox"/></span></xul:scrollbar>
    1.29 +
    1.30 +</body>
    1.31 +
    1.32 +</html>

mercurial