third_party/js/mozmill/shared-modules/tabs.js
function tabBrowser_closeAllTabs()
  {
    while (this._controller.tabs.length > 1) {
      this.closeTab({type: "menu"});
    }

    this._controller.open("about:blank");
    this._controller.waitForPageLoad();
  }
function tabBrowser_closeAllTabs()
  {
    while (this._controller.tabs.length > 1) {
      this.closeTab({type: "menu"});
    }

    this._controller.open("about:blank");
    this._controller.waitForPageLoad();
  }
function tabBrowser_closeAllTabs ( ) { while ( this . _controller . tabs . length > 1 ) { this . closeTab ( { type : "menu" } ) ; } this . _controller . open ( "about:blank" ) ; this . _controller . waitForPageLoad ( ) ; }
Close all tabs of the window except the last one and open a blank page.
Close all tabs of the window except the last one and open a blank page .