summaryrefslogtreecommitdiffstats
path: root/layout/xul/crashtests/366203-1.xul
blob: 3e2b96d30d44878634ee2c1ab1b60b847514e27c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0"?>

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(boom, 500);">

<script>
function boom()
{
  tc1 = document.getElementById("tc1");
  tc1.parentNode.removeChild(tc1);
}
</script>

<tree rows="6">
  <treecols>
      <treecol id="firstname" label="First Name" primary="true" flex="3"/>
      <treecol id="lastname" label="Last Name" flex="7"/>
  </treecols>

  <treechildren id="tc1">
    <treeitem container="true" open="true">
      <treerow>
        <treecell label="Foo"/>
      </treerow>
    </treeitem>
  </treechildren>

  <treechildren>
    <treeitem container="true" open="true">
      <treerow>
        <treecell label="Bar"/>
      </treerow>
    </treeitem>
  </treechildren>
</tree>


</window>