diff options
Diffstat (limited to 'dom/base/crashtests/404869-1.xul')
-rw-r--r-- | dom/base/crashtests/404869-1.xul | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dom/base/crashtests/404869-1.xul b/dom/base/crashtests/404869-1.xul new file mode 100644 index 000000000..f5c7facff --- /dev/null +++ b/dom/base/crashtests/404869-1.xul @@ -0,0 +1,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> |