dom/xul/crashtests/468211-1.xul
author Ravi Shankar <wafflespeanut@gmail.com>
Fri, 26 Aug 2016 12:48:41 +0530
changeset 311473 4bd1109964d28c15f5e7301530f1b46ee7b31901
parent 212354 c053db10004fe2bd2e183a440dbadf84816ed48b
permissions -rw-r--r--
Bug 1297982 - Replace NS_STYLE_BOX_ORIENT_* with enum class; r=xidorn MozReview-Commit-ID: GC0VRyHUM4V

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="-moz-binding:url(#xbl2)" class="reftest-wait">
<tooltip/>

<script id="script" xmlns="http://www.w3.org/1999/xhtml">
function doe() {
document.getElementsByTagName('tooltip')[0].setAttribute('style', '-moz-binding:url(#xbl)');
document.getElementsByTagName('tooltip')[0].setAttribute('onDOMAttrModified', 'this.focus()');
document.documentElement.removeAttribute("class");
}
setTimeout(doe, 1);
</script>

<bindings xmlns="http://www.mozilla.org/xbl" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<binding id="xbl">
<content>
<xul:box onbroadcast="document.documentElement.setAttribute('a','a')" id="g"/>
<xul:box onDOMAttrModified="document.documentElement.style.display = 'none'" observes="g"/>
</content>
</binding>

<binding id="xbl2"></binding>
</bindings>
</window>