gecko-dev/layout/xul/crashtests/326879-1.xul

32 строки
458 B
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script>
function init() {
var menupopup = document.getElementsByTagName("menupopup")[0];
menupopup.ordinal = null;
};
window.addEventListener("load", init, false);
</script>
<menulist>
<menupopup>
<menuitem label="Foo"/>
</menupopup>
</menulist>
</window>