blob: f5c7facff0a7e1d651f37c64166b1857a3cdeca9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?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>
|