Bug 1641345 - followup to fix lint of 0a04d2187ccd. rs=eslint a=wsmwk
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Tue, 02 Jun 2020 14:36:48 +0300
changeset 39336 62898a2e91679fbbe40d1a2d55ac508bb4cc0cdd
parent 39335 c84786d3659af7bfa8d3e479827e089114e5eb1f
child 39337 f6738b7e63e22e54b3c9452dd210f98a04bd17db
push id402
push userclokep@gmail.com
push dateMon, 29 Jun 2020 20:48:04 +0000
reviewerseslint, wsmwk
bugs1641345
Bug 1641345 - followup to fix lint of 0a04d2187ccd. rs=eslint a=wsmwk
mail/components/extensions/parent/ext-mail.js
--- a/mail/components/extensions/parent/ext-mail.js
+++ b/mail/components/extensions/parent/ext-mail.js
@@ -495,17 +495,19 @@ class TabTracker extends TabTrackerBase 
    *
    * @param {Event} event                  The event triggering the detroyal
    * @param {{ nativeTabInfo:NativeTabInfo}}  The object containing tab info
    */
   _handleTabDestroyed(event, { nativeTabInfo }) {
     let id = this._tabs.get(nativeTabInfo);
     if (id) {
       this._tabs.delete(nativeTabInfo);
-      this._browsers.delete(`${nativeTabInfo.browser.id}#${nativeTabInfo.tabId}`);
+      this._browsers.delete(
+        `${nativeTabInfo.browser.id}#${nativeTabInfo.tabId}`
+      );
       if (this._tabIds.get(id) === nativeTabInfo) {
         this._tabIds.delete(id);
       }
     }
   }
 
   /**
    * Returns the native tab with the given numeric ID.