modifyTabName()

This method changes the name of an existing tab.

Arguments

  • tabId: String identifying the tab.
  • tabName: New name to be displayed.