buffer.destroy: prevent modalities from accessing dead browser
commitef2cc287f071c13b500454a7262174a3fdd59f9d
authorJohn Foerch <jjfoerch@earthlink.net>
Mon, 17 May 2010 04:52:05 +0000 (17 00:52 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Mon, 17 May 2010 04:52:05 +0000 (17 00:52 -0400)
treec466ea1dee5a1b38d4c6a309ef4891397ba88684
parent0df6a131b9bd09e30f3b045c6ed1b39638c647a0
buffer.destroy: prevent modalities from accessing dead browser

Since XULRunner 1.9.2, and the new focus system, disposing of a xul:browser
triggers a "blur" event.  This results in Conkeror calling set_input_mode,
and causing modalities to try to access disposed properties of the dead
browser, resulting in console warnings.  This patch fixes that.
modules/buffer.js