layout/xul/crashtests/391974-1-inner.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/xul/crashtests/391974-1-inner.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     1.5 +<menuitem>
     1.6 +<tooltip/>
     1.7 +<box/>
     1.8 +</menuitem>
     1.9 +
    1.10 +<script xmlns="http://www.w3.org/1999/xhtml">
    1.11 +function doe2() {
    1.12 +document.getElementsByTagName('menuitem')[0].setAttribute('description', 'tetx');
    1.13 +}
    1.14 +
    1.15 +function doe3() {
    1.16 +document.getElementsByTagName('menuitem')[0].removeAttribute('description');
    1.17 +document.getElementsByTagName('tooltip')[0].setAttribute('ordinal', '0');
    1.18 +}
    1.19 +setTimeout(doe2,150);
    1.20 +setTimeout(doe3,200);
    1.21 +</script>
    1.22 +</window>
    1.23 \ No newline at end of file

mercurial