Bug 325377 - Add crashtest.

This commit is contained in:
Mats Palmgren 2013-01-25 18:34:30 +01:00
parent 59657ce1da
commit 4b2b642a4e
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml"
title="Testcase bug 325377 - Crash on reload with evil xul textcase, using menulist and nested tooltips">
<menulist style="display: table-cell;">
<tooltip style="display: none;">
<tooltip/>
</tooltip>
</menulist>
<html:script>
function removestyles(){
document.getElementsByTagName('tooltip')[0].removeAttribute('style');
}
try { document.getElementsByTagName('tooltip')[0].offsetHeight; } catch(e) {}
setTimeout(removestyles,0);
</html:script>
</window>

View File

@ -15,6 +15,7 @@ load 311457-1.html
load 321056-1.xhtml
load 326834-1.html
load 322786-1.xul
load 325377.xul
load 326879-1.xul
load 327776-1.xul
load 328135-1.xul