Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 <?xml version="1.0"?>
2 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
3 xmlns:html="http://www.w3.org/1999/xhtml"
4 onload="run()">
6 <tree id="tr" flex="1">
7 <treecols>
8 <treecol/>
9 </treecols>
10 <treechildren>
11 <html:optgroup id="group">
12 <html:option id="victim" label="never see this"/>
13 </html:optgroup>
14 </treechildren>
15 </tree>
17 <script type="text/javascript"><![CDATA[
18 function run() {
19 group = document.getElementById("group");
20 tc = document.createElement("treechildren");
21 group.appendChild(tc);
23 v = document.getElementById("victim");
24 v.parentNode.removeChild(v);
25 v = null;
27 tree = document.getElementById("tr");
28 col = tree.columns[0];
29 alert(tree.view.getItemAtIndex(1, col));
30 }
31 ]]></script>
32 </window>