mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 325377 - Add crashtest.
This commit is contained in:
parent
00cefdf586
commit
1492217259
16
layout/xul/base/src/crashtests/325377.xul
Normal file
16
layout/xul/base/src/crashtests/325377.xul
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user