3 <?xml-stylesheet href=
"chrome://global/skin/" type=
"text/css"?>
5 <window xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class=
"reftest-wait" onload=
"setTimeout(boom, 30)">
11 var tree = document.getElementById(
"thetree");
12 var selection = tree.view.selection;
15 tree.parentNode.removeChild(tree);
17 // This is expected to throw an error (it used to crash).
19 selection.rangedSelect(
1,
1, false);
23 document.documentElement.removeAttribute(
"class");
27 <tree flex=
"1" id=
"thetree">
29 <treecol label=
"Name"/>
31 <treechildren id=
"TC">
34 <treecell label=
"First treecell"/>
39 <treecell label=
"Second treecell"/>