bug 391974 - crash test by Martijn Wargers.

This commit is contained in:
Bob Clary 2009-04-24 10:08:21 -07:00
parent 5e02e4d975
commit a4da62238d
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<menuitem>
<tooltip/>
<box/>
</menuitem>
<script xmlns="http://www.w3.org/1999/xhtml">
function doe2() {
document.getElementsByTagName('menuitem')[0].setAttribute('description', 'tetx');
}
function doe3() {
document.getElementsByTagName('menuitem')[0].removeAttribute('description');
document.getElementsByTagName('tooltip')[0].setAttribute('ordinal', '0');
}
setTimeout(doe2,150);
setTimeout(doe3,200);
</script>
</window>

View File

@ -0,0 +1,9 @@
<html class="reftest-wait">
<head>
<script>
setTimeout('document.documentElement.className = ""', 1000);
</script>
<body>
<iframe src="391974-1-inner.xul"></iframe>
</body>
</html>

View File

@ -33,6 +33,7 @@ load 384105-1.html
load 384491-1.xhtml
load 384871-1.html
load 387033-1.xhtml
load 391974-1.html
load 394120-1.xhtml
load 397304-1.html
load 398326-1.xhtml