dom/base/crashtests/404869-1.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/base/crashtests/404869-1.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
     1.6 +        
     1.7 +<bindings xmlns="http://www.mozilla.org/xbl">
     1.8 +  <binding id="empty"><content></content></binding>
     1.9 +</bindings>
    1.10 +
    1.11 +<script type="text/javascript">
    1.12 +
    1.13 +function boom()
    1.14 +{
    1.15 +  var menupopup = document.getElementById("menupopup");
    1.16 +  var x = SpecialPowers.wrap(document).getAnonymousNodes(menupopup)[0];
    1.17 +  menupopup.style.MozBinding = "url('#empty')";
    1.18 +  for (var ppp in x) {
    1.19 +  }
    1.20 +}
    1.21 +
    1.22 +</script>
    1.23 +
    1.24 +<menupopup id="menupopup"/>
    1.25 +
    1.26 +</window>

mercurial