mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Add a crashtest.
This commit is contained in:
parent
f8c0bcc5ca
commit
96aba0b23f
32
gfx/thebes/crashtests/393822-1.html
Normal file
32
gfx/thebes/crashtests/393822-1.html
Normal file
@ -0,0 +1,32 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
|
||||
<head>
|
||||
<script>
|
||||
|
||||
var ff;
|
||||
var jj;
|
||||
|
||||
function boom()
|
||||
{
|
||||
ff = document.createElement("font");
|
||||
ff.setAttribute("size", "-2");
|
||||
ff.appendChild(document.createTextNode("G"));
|
||||
|
||||
jj = document.getElementById("jj");
|
||||
|
||||
jj.appendChild(ff);
|
||||
setTimeout(boom2, 30);
|
||||
}
|
||||
|
||||
function boom2()
|
||||
{
|
||||
jj.removeChild(ff);
|
||||
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();" dir="rtl"><div id="jj">h </div></body>
|
||||
|
||||
</html>
|
@ -12,6 +12,7 @@ load 385417-2.html
|
||||
load 385719-1.html
|
||||
load 393746-1.xhtml
|
||||
load 393749-1.html
|
||||
load 393822-1.html
|
||||
load 394384-1.html
|
||||
load 394246-1.html
|
||||
skip-if(MOZ_WIDGET_TOOLKIT=="gtk2") load 394246-2.html # Bug 408746
|
||||
|
Loading…
Reference in New Issue
Block a user