We can search for a tab here just as below: https://searchfox.org/comm-central/source/mailnews/base/prefs/content/accountUtils.js#320 for (let tabInfo of tabmail.tabInfo) { let tab = tabmail.getTabForBrowser(tabInfo.browser); if (tab.urlbar.textContent == "about:accountsettings") { tab.setAttriubte("type", "AccountManager"); break; } }
Bug 1617960 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
We can search for a tab here just as below: https://searchfox.org/comm-central/source/mailnews/base/prefs/content/accountUtils.js#320 ``` for (let tabInfo of tabmail.tabInfo) { let tab = tabmail.getTabForBrowser(tabInfo.browser); if (tab.urlbar.textContent == "about:accountsettings") { tab.setAttriubte("type", "AccountManager"); break; } } ```
We can search for a tab here just as below: https://searchfox.org/comm-central/source/mailnews/base/prefs/content/accountUtils.js#320 ``` for (let tabInfo of tabmail.tabInfo) { let tab = tabmail.getTabForBrowser(tabInfo.browser); if (tab && tab.urlbar && tab.urlbar.textContent == "about:accountsettings") { tab.setAttriubte("type", "AccountManager"); break; } } ```