mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
99b9464952
The crashtest changes are untested (aside from the fact that they don't crash).
24 lines
545 B
XML
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>
|