mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
7ffb5c2980
--HG-- rename : content/base/test/test_bug490760.xhtml => content/base/crashtests/490760-1.xhtml
26 lines
540 B
HTML
26 lines
540 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<script type="text/javascript">
|
|
<![CDATA[
|
|
|
|
function boom()
|
|
{
|
|
var q = document.getElementsByTagName("style")[0];
|
|
|
|
window.addEventListener("DOMNodeRemoved", f, false);
|
|
q.innerHTML = "<span><\/span>";
|
|
window.removeEventListener("DOMNodeRemoved", f, false);
|
|
|
|
function f()
|
|
{
|
|
window.removeEventListener("DOMNodeRemoved", f, false);
|
|
q.removeChild(q.childNodes[1]);
|
|
}
|
|
}
|
|
|
|
]]>
|
|
</script>
|
|
</head>
|
|
<body onload="boom();"><style><span></span><span></span></style></body>
|
|
</html>
|