mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
37 lines
559 B
HTML
37 lines
559 B
HTML
<!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>
|