layout/base/crashtests/348126-1-inner.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 <html><head><title>Testcase bug 348126 - Crash [@ nsImageFrame::SourceRectToDest] on reload and removing table-caption styles</title>
     3 <script>
     4 function removestyles(i){
     6 document.getElementsByTagName('table')[0].removeAttribute('style');
     8 document.getElementsByTagName('object')[0].removeAttribute('style');
    10 document.getElementsByTagName('table')[1].removeAttribute('style');
    11 document.location.reload();
    12 }
    14 setTimeout(removestyles,500,0);
    15 </script>
    16 </head><body>
    17 Mozilla should not crash on reload on this page<br>
    18 <object><table style="display: table-caption;">
    19 <tbody><tr><td></td></tr></tbody>
    20 </table><object style="display: table-caption;">
    21 </object><table style="display: table-row-group;">
    22 <tbody><tr><td>
    23 <img src="348126-1.gif">
    24 </td></tr></tbody></table>
    25 <img src="348126-1.gif">
    26 </object>
    28 </body></html>

mercurial