content/xul/document/crashtests/468211-1.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/xul/document/crashtests/468211-1.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="-moz-binding:url(#xbl2)" class="reftest-wait">
     1.5 +<tooltip/>
     1.6 +
     1.7 +<script id="script" xmlns="http://www.w3.org/1999/xhtml">
     1.8 +function doe() {
     1.9 +document.getElementsByTagName('tooltip')[0].setAttribute('style', '-moz-binding:url(#xbl)');
    1.10 +document.getElementsByTagName('tooltip')[0].setAttribute('onDOMAttrModified', 'this.focus()');
    1.11 +document.documentElement.removeAttribute("class");
    1.12 +}
    1.13 +setTimeout(doe, 1);
    1.14 +</script>
    1.15 +
    1.16 +<bindings xmlns="http://www.mozilla.org/xbl" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    1.17 +<binding id="xbl">
    1.18 +<content>
    1.19 +<xul:box onbroadcast="document.documentElement.setAttribute('a','a')" id="g"/>
    1.20 +<xul:box onDOMAttrModified="document.documentElement.style.display = 'none'" observes="g"/>
    1.21 +</content>
    1.22 +</binding>
    1.23 +
    1.24 +<binding id="xbl2"></binding>
    1.25 +</bindings>
    1.26 +</window>
    1.27 \ No newline at end of file

mercurial