layout/xul/crashtests/325377.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/xul/crashtests/325377.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,16 @@
     1.4 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml"
     1.5 + title="Testcase bug 325377 - Crash on reload with evil xul textcase, using menulist and nested tooltips">
     1.6 +<menulist style="display: table-cell;">
     1.7 +<tooltip style="display: none;">
     1.8 +    <tooltip/>
     1.9 +</tooltip>
    1.10 +</menulist>
    1.11 +
    1.12 +<html:script>
    1.13 +function removestyles(){
    1.14 +document.getElementsByTagName('tooltip')[0].removeAttribute('style');
    1.15 +}
    1.16 +try { document.getElementsByTagName('tooltip')[0].offsetHeight; } catch(e) {}
    1.17 +setTimeout(removestyles,0);
    1.18 +</html:script>
    1.19 +</window>
    1.20 \ No newline at end of file

mercurial