layout/xul/crashtests/434458-1.xul

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(boom, 30);" class="reftest-wait">
     3 <script>
     4 function boom() {
     5   var a = document.getElementById('a');
     6   var x = a.popupBoxObject;
     7   a.parentNode.removeChild(a);
     8   x.enableKeyboardNavigator(true);
     9   x.openPopup(null, "after_start", 0, 0, false, false, null);
    10   x.openPopupAtScreen(2, 2, false, null);
    11   x.showPopup(document.documentElement, a, -1, -1, "popup", "topleft", "topleft");
    12   x.hidePopup();
    13   document.documentElement.removeAttribute("class");
    14 }
    16 </script>
    18 <menupopup id="a"/>
    20 </window>

mercurial