mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 05:14:24 +00:00
bug 391974 - crash test by Martijn Wargers.
This commit is contained in:
parent
5e02e4d975
commit
a4da62238d
19
layout/xul/base/src/crashtests/391974-1-inner.xul
Normal file
19
layout/xul/base/src/crashtests/391974-1-inner.xul
Normal 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>
|
9
layout/xul/base/src/crashtests/391974-1.html
Normal file
9
layout/xul/base/src/crashtests/391974-1.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user