content/base/crashtests/490760-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/crashtests/490760-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.5 +<head>
     1.6 +<script type="text/javascript">
     1.7 +<![CDATA[
     1.8 +
     1.9 +function boom()
    1.10 +{
    1.11 +  var q = document.getElementsByTagName("style")[0];
    1.12 +  
    1.13 +  window.addEventListener("DOMNodeRemoved", f, false);
    1.14 +  q.innerHTML = "<span><\/span>";
    1.15 +  window.removeEventListener("DOMNodeRemoved", f, false);
    1.16 +
    1.17 +  function f()
    1.18 +  {
    1.19 +    window.removeEventListener("DOMNodeRemoved", f, false);
    1.20 +    q.removeChild(q.childNodes[1]);
    1.21 +  }
    1.22 +}
    1.23 +
    1.24 +]]>
    1.25 +</script>
    1.26 +</head>
    1.27 +<body onload="boom();"><style><span></span><span></span></style></body>
    1.28 +</html>

mercurial