Created attachment 539742 [details] [diff] [review] patch In order to release the browser when something is erroneously holding a reference to a removed tab, we should cut off the link between the two. mochitest-browser-chrome passed on try with this patch.
Comment on attachment 539742 [details] [diff] [review] patch Why null out linkedPanel? It's just an ID. It's hard to know whether anyone would be depending on tabs keeping their browsers alive, but I guess there isn't much to do aside from trying it and seeing what breaks.
Created attachment 540227 [details] [diff] [review] patch v2 removed the linkedPanel part, added a test
Setting resolution to Verified Fixed on Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0