layout/xul/test/test_bug394800.xhtml

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 <html xmlns="http://www.w3.org/1999/xhtml"
     2       xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     3 <head>
     4 <!--
     5 https://bugzilla.mozilla.org/show_bug.cgi?id=394800
     6 -->
     7   <title>Test Mozilla bug 394800</title>
     8   <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
    10 <script class="testbody" type="application/javascript">
    12 function do_test()
    13 {
    14   var x = document.getElementById("x");
    15   x.parentNode.removeChild(x);
    16   is(0, 0, "this is a crash/assertion test, so we're ok if we survived this far");
    17   SimpleTest.finish();
    18 }
    20 SimpleTest.waitForExplicitFinish();
    21 </script>
    22 </head>
    24 <body>
    26 <xul:menulist><xul:tooltip/><div><span><xul:hbox id="x"/></span></div></xul:menulist>
    28 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=394800">Mozilla Bug 394800</a>
    29 <p id="display"></p>
    31 <pre id="test">
    32 </pre>
    34 <script>
    35   addLoadEvent(do_test);
    36 </script>
    38 </body>
    39 </html>

mercurial