layout/xul/tree/crashtests/307298-1.xul

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 <?xml version="1.0"?>
     3 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     5 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="var tree = document.getElementById('tree'), treeitem = document.getElementById('treeitem'); tree.parentNode.insertBefore(treeitem, tree);">
     7 <tree flex="1" id="tree">
     8   <treecols>
     9     <treecol id="name" label="Name" primary="true" flex="1"/>
    10   </treecols>
    12   <treechildren>
    13     <treeitem id="treeitem">
    14       <treerow>
    15         <treecell label="Click the button below to crash"/>
    16       </treerow>
    17     </treeitem>
    18   </treechildren>
    19 </tree>
    21 </window>

mercurial