gecko/content/base/crashtests/330925-1.xhtml
Bobby Holley 686a940c6e Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00

36 lines
684 B
HTML

<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<script>
function init()
{
var foopy = document.getElementById("foopy");
var emb = document.getElementById("emb");
try {
foopy.appendChild(SpecialPowers.unwrap(SpecialPowers.wrap(document).getAnonymousNodes(emb))[0]);
emb.parentNode.removeChild(emb);
foopy.parentNode.removeChild(foopy);
} catch (e) {
}
document.documentElement.removeAttribute("class");
}
window.addEventListener("load", function() { setTimeout(init, 30); }, false);
</script>
</head>
<body>
<div id="foopy"/>
<embed src="data:foo/bar,baz" id="emb" />
</body>
</html>