layout/base/crashtests/540771-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/540771-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     1.5 +
     1.6 +<xul:deck id="d"/>
     1.7 +
     1.8 +<xul:menuitem><span /><xul:menupopup id="p"/></xul:menuitem>
     1.9 +
    1.10 +<script>
    1.11 +function boom()
    1.12 +{
    1.13 +  var p = document.getElementById("p");
    1.14 +  var d = document.getElementById("d");
    1.15 +  p.parentNode.removeChild(p);
    1.16 +  d.appendChild(document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "box"));
    1.17 +}
    1.18 +window.addEventListener("load", boom, false);
    1.19 +</script>
    1.20 +
    1.21 +</html>

mercurial