content/xul/document/crashtests/386914-1-inner.xul
author Bob Clary <bclary@bclary.com>
Fri, 24 Apr 2009 10:08:20 -0700
changeset 27782 9a7346ed943a659e1c67341645d75bf4c3a3cdfe
child 198247 afcb3af79d09513b2772c629c23a0d9f7b7437b4
permissions -rw-r--r--
bug 386914 - crash test by Martijn Wargers.

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" id="a">

<box id="b" observes="a"/>

<html:script xmlns:html="http://www.w3.org/1999/xhtml">
document.getElementById('b').addEventListener('DOMAttrModified', function(e) {document.removeChild(document.documentElement);}, true);
setTimeout(function() {document.getElementById('a').setAttribute('tabindex', '1') ;}, 100);
</html:script>

</window>