mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Adding crashtest for bug 338674 on a CLOSED TREE
This commit is contained in:
parent
42252a60cc
commit
1c7dedb6fa
36
dom/src/base/crashtests/338674-1.xhtml
Normal file
36
dom/src/base/crashtests/338674-1.xhtml
Normal file
@ -0,0 +1,36 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
|
||||
<head>
|
||||
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var s = document.getElementById("s")
|
||||
var t = s.previousSibling; // a whitespace text node..
|
||||
|
||||
document.addEventListener("DOMAttrModified", bang, false);
|
||||
rM(s);
|
||||
document.removeEventListener("DOMAttrModified", bang, false);
|
||||
|
||||
function bang(ev) {
|
||||
document.removeEventListener("DOMAttrModified", bang, false); // avoid accidental recursion, multiple calls, etc.
|
||||
rM(t);
|
||||
}
|
||||
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
function rM(n) { n.parentNode.removeChild(n); }
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body onload="setTimeout(boom, 1);">
|
||||
|
||||
<div><select><option>C</option></select></div>
|
||||
|
||||
<span id="s">A <div>B</div></span>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,6 +1,7 @@
|
||||
load 327571-1.html
|
||||
load 327695-1.html
|
||||
load 329481-1.xhtml
|
||||
load 338674-1.xhtml
|
||||
load 346381-1.html
|
||||
load 359432-1.xhtml
|
||||
load 369413-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user