« XUL Reference home
removeTab( tabElement )
Return type: no return value
Removes a specific tabbed page corresponding to the given tab element. If only one tab is displayed, this method does nothing (unless the preference browser.tabs.closeWindowWithLastTab is true, in which case the window containing the tab is closed). If browser.tabs.autoHide is true, the row of tabs will collapse if only one tab remains.