layout/base/crashtests/400185-1.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/400185-1.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
     1.5 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(doe, 30);" class="reftest-wait">
     1.6 +<popupgroup id="a"/>
     1.7 +<listcols>
     1.8 +<nativescrollbar id="c">
     1.9 +<treecols/>
    1.10 +</nativescrollbar>
    1.11 +</listcols>
    1.12 +
    1.13 +<script>
    1.14 +function doe() {
    1.15 +  document.documentElement.id = "true";
    1.16 +  document.documentElement.removeChild(document.getElementById('a')); 
    1.17 +  var ne = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", 'popupgroup'); 
    1.18 +  document.documentElement.appendChild(ne); 
    1.19 +  document.getElementById('c').appendChild(document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", 'treecols'));
    1.20 +  document.documentElement.removeChild(ne);
    1.21 +  document.documentElement.removeAttribute("class");
    1.22 +}
    1.23 +</script>
    1.24 +</window>

mercurial