Bug 399013 - Crash test.

This commit is contained in:
Martijn Wargers 2013-02-23 11:38:14 +01:00
parent 6e32d4722a
commit 2695e3c816
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,31 @@
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<menulist id="b" style="display: -moz-groupbox;">
<panel id="c" style=" position: absolute;">
<popup onunderflow="document.getElementById('c').removeAttribute('style')"/>
</panel>
<menupopup id="a" style="display: -moz-stack;">
<menulist/>
</menupopup>
<panel style="display: -moz-deck;" onoverflow="document.getElementById('b').removeAttribute('style')">
<popup style="display: -moz-deck;"/>
</panel>
</menulist>
<script id="script" xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
function doe() {
document.getElementById('c').removeAttribute('style');
document.documentElement.boxObject.height;
document.getElementById('b').removeAttribute('style');
document.getElementById('a').setAttribute('selected', 'true');
document.getElementById('a').setAttribute('style', 'position: fixed;');
document.documentElement.boxObject.height;
document.getElementById('a').removeAttribute('style');
}
function doe2() {
window.location.reload();
}
setTimeout(doe2, 200);
setTimeout(doe,100);
]]></script>
</window>

View File

@ -50,6 +50,7 @@ load 394120-1.xhtml
load 395609.xul
load 397304-1.html
load 398326-1.xhtml
load 399013.xul
load 400779-1.xhtml
load 402912-1.xhtml
load 408904-1.xul