layout/generic/test/test_bug402380.html

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 <!DOCTYPE HTML>
     2 <html>
     3 <!--
     4 https://bugzilla.mozilla.org/show_bug.cgi?id=402380
     5 -->
     6 <head>
     7   <title>Test for Bug 402380</title>
     8   <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>        
     9   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
    10   <style type="text/css">
    11    div::first-letter { color: green; }
    12    span:before { content: open-quote "This "; }
    13    span:after { content: close-quote; }
    14   </style>
    15 </head>
    16 <body style="font-family: monospace; width: 7ch; border: 1px solid orange;"
    17       onload="document.getElementById('div').style.direction = 'rtl';">
    18 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=402380">Mozilla Bug 402380</a>
    19 <div id="div"><span>is text</span></div>
    20 <pre id="test">
    21 <script class="testbody" type="text/javascript">
    22  function test()
    23 {
    24 /** Test for Bug 402380 **/
    25   ok(true, "Should not crash");
    26   SimpleTest.finish();
    27 }
    29   setTimeout(test, 500);
    30   SimpleTest.waitForExplicitFinish();
    31 </script>
    32 </pre>
    33 </body>
    34 </html>

mercurial