layout/base/crashtests/400185-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

michael@0 1 <?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
michael@0 2 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(doe, 30);" class="reftest-wait">
michael@0 3 <popupgroup id="a"/>
michael@0 4 <listcols>
michael@0 5 <nativescrollbar id="c">
michael@0 6 <treecols/>
michael@0 7 </nativescrollbar>
michael@0 8 </listcols>
michael@0 9
michael@0 10 <script>
michael@0 11 function doe() {
michael@0 12 document.documentElement.id = "true";
michael@0 13 document.documentElement.removeChild(document.getElementById('a'));
michael@0 14 var ne = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", 'popupgroup');
michael@0 15 document.documentElement.appendChild(ne);
michael@0 16 document.getElementById('c').appendChild(document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", 'treecols'));
michael@0 17 document.documentElement.removeChild(ne);
michael@0 18 document.documentElement.removeAttribute("class");
michael@0 19 }
michael@0 20 </script>
michael@0 21 </window>

mercurial