mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 19:07:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
33
dom/base/crashtests/338391-1.xhtml
Normal file
33
dom/base/crashtests/338391-1.xhtml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
|
||||
<head>
|
||||
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var n = document.getElementById("n");
|
||||
|
||||
document.addEventListener("DOMNodeRemoved", foozle, false);
|
||||
n.parentNode.removeChild(n);
|
||||
document.removeEventListener("DOMNodeRemoved", foozle, false);
|
||||
|
||||
function foozle()
|
||||
{
|
||||
document.removeEventListener("DOMNodeRemoved", foozle, false); // prevent accidental recursion
|
||||
|
||||
n.parentNode.removeChild(n);
|
||||
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body onload="setTimeout(boom, 30)">
|
||||
|
||||
<div id="n"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue