mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
bug 431906 - crash test by Martijn Wargers.
This commit is contained in:
parent
869e0a67f6
commit
f286639b62
19
content/xul/content/crashtests/431906-1-inner.xul
Normal file
19
content/xul/content/crashtests/431906-1-inner.xul
Normal 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>
|
9
content/xul/content/crashtests/431906-1.html
Normal file
9
content/xul/content/crashtests/431906-1.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user