layout/xul/crashtests/391974-1-inner.xul
author Alessio Placitelli <alessio.placitelli@gmail.com>
Mon, 22 May 2017 12:52:19 +0200
changeset 360776 ad54e4734e9b4d8e76fd72bcc5bdb8fec17ec17e
parent 158786 77c3680c7f5636540c9b6898e9371b78b3957716
permissions -rw-r--r--
Bug 1364068 - Enable the 'new-profile' ping. r=gfritzsche MozReview-Commit-ID: 6DXa20aCOBr

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<menuitem>
<tooltip/>
<box/>
</menuitem>

<script xmlns="http://www.w3.org/1999/xhtml">
function doe2() {
document.getElementsByTagName('menuitem')[0].setAttribute('description', 'tetx');
}

function doe3() {
document.getElementsByTagName('menuitem')[0].removeAttribute('description');
document.getElementsByTagName('tooltip')[0].setAttribute('ordinal', '0');
}
setTimeout(doe2,150);
setTimeout(doe3,200);
</script>
</window>