layout/base/crashtests/337476-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 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="reftest-wait">
     4 <script>
     6 <![CDATA[
     8 window.addEventListener("load", init, false);
    10 function init()
    11 {
    12   document.getElementById("n1").style.display = "table-caption";
    13   setTimeout(init2, 30);
    14 }
    16 function init2()
    17 {
    18   document.getElementById("n2").style.display = "table-caption";
    19   document.documentElement.removeAttribute("class");
    20 }
    22 ]]>
    24 </script>
    27   <hbox>
    28     <vbox flex="1" id="n1"/>
    29     <spacer flex="1" id="n2"/>
    30   </hbox>
    32 </window>

mercurial