Add a crashtest.

This commit is contained in:
jruderman@hmc.edu 2007-12-13 20:40:08 -08:00
parent 0f8bfb93f5
commit fcbf1a2fcd
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,36 @@
<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
<script>
var de;
function boom()
{
de = document.documentElement;
document.addEventListener("DOMNodeRemoved", f, false);
function f()
{
document.removeEventListener("DOMNodeRemoved", f, false);
de.appendChild(document.createElement("body"));
}
document.removeChild(de);
setTimeout(cont, 30);
}
function cont()
{
document.appendChild(de);
document.documentElement.removeAttribute("class");
}
</script>
</head>
<body onload="setTimeout(boom, 30);">
</body>
</html>

View File

@ -3,3 +3,4 @@ load 326618-1.html
load 326865-1.html load 326865-1.html
load 338391-1.xhtml load 338391-1.xhtml
load 343730-1.xhtml load 343730-1.xhtml
load 386000-1.html