Bug 1568866 - Fix ESlint failure on a CLOSED TREE
☠☠ backed out by f852078ee86a ☠ ☠
authorCoroiu Cristina <ccoroiu@mozilla.com>
Tue, 06 Aug 2019 19:39:55 +0300
changeset 486551 d87d16fa1fa50a5245f74bac6506bfb25ca4eddb
parent 486550 36e33a3b59f05ea0c030aab9ef4a8a5e04178a9f
child 486552 f665f6ac47a90af2c196706513fb892ff1f4014d
push id91788
push userccoroiu@mozilla.com
push dateTue, 06 Aug 2019 16:40:47 +0000
treeherderautoland@d87d16fa1fa5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1568866
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1568866 - Fix ESlint failure on a CLOSED TREE
browser/base/content/browser-sync.js
--- a/browser/base/content/browser-sync.js
+++ b/browser/base/content/browser-sync.js
@@ -254,20 +254,17 @@ var gSync = {
 
   showSendToDeviceViewFromFxaMenu(anchor) {
     const { status } = UIState.get();
     if (status === UIState.STATUS_NOT_CONFIGURED) {
       PanelUI.showSubView("PanelUI-fxa-menu-sendtab-not-configured", anchor);
       return;
     }
 
-    if (
-      this.sendTabConfiguredAndLoading ||
-      this.sendTabTargets.length <= 0
-    ) {
+    if (this.sendTabConfiguredAndLoading || this.sendTabTargets.length <= 0) {
       PanelUI.showSubView("PanelUI-fxa-menu-sendtab-no-devices", anchor);
       return;
     }
 
     this.showSendToDeviceView(anchor);
     this.emitFxaToolbarTelemetry("send_tab", anchor);
   },