Bug 1398272 - Fix no-trailing-spaces ESLint bustage in ext-tabs.js. a=bustage
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 22 May 2018 19:11:56 -0400
changeset 449332 8ca5a571d7500d215c5cd6b00e0e0a442b47cb11
parent 449331 5962d597aa946c73d7047337882dad4890b19c52
child 449333 035ad5ecd97ee8a2e3beb9176e9d98d1163b1c75
push id42
push userryanvm@gmail.com
push dateTue, 22 May 2018 23:12:53 +0000
treeherdermozilla-esr60@035ad5ecd97e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1398272
milestone60.0.2
Bug 1398272 - Fix no-trailing-spaces ESLint bustage in ext-tabs.js. a=bustage
browser/components/extensions/ext-tabs.js
--- a/browser/components/extensions/ext-tabs.js
+++ b/browser/components/extensions/ext-tabs.js
@@ -299,17 +299,17 @@ this.tabs = class extends ExtensionAPI {
               needed.push("pinned");
             } else if (event.type == "TabUnpinned") {
               needed.push("pinned");
             } else if (event.type == "TabBrowserInserted") {
               // This may be an adopted tab. Bail early to avoid asking tabManager
               // about the tab before we run the adoption logic in ext-browser.js.
               if (event.detail.insertedOnTabCreation) {
                 return;
-              }    
+              }
               needed.push("discarded");
             } else if (event.type == "TabBrowserDiscarded") {
               needed.push("discarded");
             } else if (event.type == "TabShow") {
               needed.push("hidden");
             } else if (event.type == "TabHide") {
               needed.push("hidden");
             }