mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 386642 - crashtest.
This commit is contained in:
parent
fde1988455
commit
333b13314a
31
layout/xul/crashtests/386642.xul
Normal file
31
layout/xul/crashtests/386642.xul
Normal file
@ -0,0 +1,31 @@
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
title="Bug 386642 Crash [@ IsCanvasFrame] while opening context menu or changing styles">
|
||||
<toolbarbutton type="menu" id="a">
|
||||
<menupopup id="b"/>
|
||||
</toolbarbutton>
|
||||
|
||||
<style xmlns="http://www.w3.org/1999/xhtml">
|
||||
.one image {
|
||||
display: -moz-box;
|
||||
}
|
||||
image{
|
||||
display: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script><![CDATA[
|
||||
var gg=0;
|
||||
function doe() {
|
||||
var a = document.getElementById('a');
|
||||
if (!a.hasAttribute('class')) {
|
||||
a.setAttribute('class', 'one');
|
||||
} else {
|
||||
a.removeAttribute('class');
|
||||
}
|
||||
document.getElementById('b').hidePopup();
|
||||
}
|
||||
|
||||
doe();
|
||||
setInterval(doe, 200);
|
||||
]]></script>
|
||||
</window>
|
@ -46,6 +46,7 @@ load 384105-1.html
|
||||
asserts(0-12) load 384373.html # bug 623436
|
||||
load 384491-1.xhtml
|
||||
load 384871-1.html
|
||||
load 386642.xul
|
||||
load 387033-1.xhtml
|
||||
load 387080-1.xul
|
||||
load 391974-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user