Add crashtest.

This commit is contained in:
jruderman@hmc.edu 2008-01-06 15:42:33 -08:00
parent b5742c3731
commit 7d96b6da4e
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,41 @@
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="x"><content>
<zzz><children/></zzz>
</content></binding>
<binding id="empty"><content>
</content></binding>
</bindings>
<script>
var xbltarget;
function boom1()
{
xbltarget = document.getElementById("xbltarget");
xbltarget.style.MozBinding = "url('#x')";
setTimeout(boom2, 30);
}
function boom2()
{
var anox = document.getAnonymousNodes(xbltarget)[0];
var frame = document.createElementNS("http://www.w3.org/1999/xhtml", "frame")
frame.src = "http://www.squarefree.com/tests/simple.html";
anox.appendChild(frame);
xbltarget.style.MozBinding = "url('#empty')";
document.documentElement.removeAttribute("class");
}
</script>
</head>
<body onload="boom1()">
<div id="xbltarget"></div>
</body>
</html>

View File

@ -53,6 +53,7 @@ load 372550-1.html
load 374297-1.html
load 374297-2.html
load 376223-1.xhtml
load 379105-1.xhtml
load 379419-1.xhtml
load 379799-1.html
load 379920-1.svg