layout/mathml/crashtests/348492-1.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" class="reftest-wait">
     2 <head>
     4 <script>
     5 var MATHML_NS = "http://www.w3.org/1998/Math/MathML";
     7 function foo()
     8 {
     9   var mmultiscripts = document.createElementNS(MATHML_NS, 'mmultiscripts');
    10   var mtd = document.createElementNS(MATHML_NS, 'mtd');
    13   document.body.appendChild(mmultiscripts);
    14   aC(mmultiscripts, mtd); 
    15   aC(mmultiscripts, document.createTextNode('foo')); 
    17   document.documentElement.removeAttribute("class");
    18 }
    20 function aC(q1, q2) { q1.appendChild(q2); }
    22 </script>
    23 </head>
    25 <body onload="setTimeout(foo, 30)">
    29 </body>
    31 </html>

mercurial