layout/base/crashtests/328944-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 version="1.0"?>
michael@0 2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
michael@0 3
michael@0 4 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
michael@0 5
michael@0 6 <script>
michael@0 7
michael@0 8 function gE(i) { return document.getElementById(i); }
michael@0 9
michael@0 10 function init()
michael@0 11 {
michael@0 12 gE("button").insertBefore(gE("popup"), gE("hbox4"));
michael@0 13 }
michael@0 14
michael@0 15 window.addEventListener("load", init, false);
michael@0 16
michael@0 17 </script>
michael@0 18
michael@0 19 <menupopup id="popup"/>
michael@0 20
michael@0 21 <button id="button"><hbox/><hbox/><hbox/><hbox id="hbox4"/></button>
michael@0 22
michael@0 23 </window>

mercurial