bug 431906 - crash test by Martijn Wargers.

This commit is contained in:
Bob Clary 2009-04-24 10:08:24 -07:00
parent 869e0a67f6
commit f286639b62
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<colgroup id="a" command="a">
<box xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<box id="a" command="a"/>
<box id="a" command="a"/>
</box>
</colgroup>
<script><![CDATA[
function doe(){
document.getElementsByTagName('*')[1].setAttribute('id','');
document.getElementsByTagName('*')[1].setAttribute('xmlns', '');
document.getElementsByTagName('*')[3].setAttribute('id','');
document.getElementsByTagName('*')[4].removeAttribute('xmlns');
document.getElementsByTagName('*')[4].setAttribute('width', '1px');
}
setTimeout(doe,100);
]]></script>
</html>

View File

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

View File

@ -17,5 +17,6 @@ load 384740-1.xul
load 386947-1.xul
load 425821-1.xul
load 429085-1.xhtml
load 431906-1.html
load 451311-1.xul
load 461917-1.xhtml