code: function getTabData_() {
      var tabData = {};
      var tabSwitcher = MainView.getInstance().tabSwitcher();
      var tabIdToView = tabSwitcher.getAllTabViews();
      for (var tabId in tabIdToView) {
        var view = tabIdToView[tabId];
        if (view.saveState)
          tabData[tabId] = view.saveState();
      }
    }
docs: Gather any tab-specific state information prior to creating a log dump.