summaryrefslogtreecommitdiff
path: root/layout/base/crashtests/400185-1.xul
blob: 1ca9442402a216a44f15e65793d2d9b1f2991310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(doe, 30);" class="reftest-wait">
<popupgroup id="a"/>
<listcols>
<nativescrollbar id="c">
<treecols/>
</nativescrollbar>
</listcols>

<script>
function doe() {
  document.documentElement.id = "true";
  document.documentElement.removeChild(document.getElementById('a')); 
  var ne = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", 'popupgroup'); 
  document.documentElement.appendChild(ne); 
  document.getElementById('c').appendChild(document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", 'treecols'));
  document.documentElement.removeChild(ne);
  document.documentElement.removeAttribute("class");
}
</script>
</window>