Created attachment 608562 [details] [diff] [review]
The code throws an exception and the tab is not completely destroyed or removed from the BrowserApp.tabs array. This patch fixes it.
*** Bug 738768 has been marked as a duplicate of this bug. ***
Please can you set the target milestone + assignee when landing on inbound, along the lines of http://blog.bonardo.net/2012/03/23/how-you-can-help-mozilla-inbound-sheriffs-when-pushing :-)