mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add crashtest
This commit is contained in:
parent
5e38d09cf2
commit
d13daacc32
30
content/xul/content/crashtests/326864-1.xul
Normal file
30
content/xul/content/crashtests/326864-1.xul
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
function init()
|
||||
{
|
||||
var tt = document.getElementById("textbox");
|
||||
var hb = document.getAnonymousNodes(tt)[0]; // hbox
|
||||
var men = document.getAnonymousNodes(hb)[1]; // menupopup
|
||||
var menitem = men.childNodes[0]; // menuitem
|
||||
var hb2 = document.getAnonymousNodes(menitem)[1]; // hbox
|
||||
var label2 = hb2.childNodes[0]; // label
|
||||
|
||||
men.menu = null;
|
||||
label2.click();
|
||||
}
|
||||
|
||||
window.addEventListener("load", init, false);
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<textbox id="textbox"/>
|
||||
|
||||
|
||||
</window>
|
@ -1,2 +1,3 @@
|
||||
load 326864-1.xul
|
||||
load 336096-1.xhtml
|
||||
load 360078-1.xhtml
|
||||
|
Loading…
Reference in New Issue
Block a user