gecko-dev/dom/base/crashtests/404869-1.xul
Bobby Holley 99b9464952 Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00

24 lines
545 B
XML

<?xml version="1.0"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="empty"><content></content></binding>
</bindings>
<script type="text/javascript">
function boom()
{
var menupopup = document.getElementById("menupopup");
var x = SpecialPowers.wrap(document).getAnonymousNodes(menupopup)[0];
menupopup.style.MozBinding = "url('#empty')";
for (var ppp in x) {
}
}
</script>
<menupopup id="menupopup"/>
</window>