Bug 1533943 - Fixed eslint failure at browser/web-navigation.js on a CLOSED TREE.
authorGurzau Raul <rgurzau@mozilla.com>
Thu, 14 Nov 2019 03:57:50 +0200
changeset 501909 15149f31dbf22496835289baeebbcc4f63652d42
parent 501908 1f6cd5814db95dda18ac4aeaffe2dffcd2b887d9
child 501910 4687994e9b2ddbc941626d64be93fa33c28d197e
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1533943
milestone72.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 1533943 - Fixed eslint failure at browser/web-navigation.js on a CLOSED TREE.
devtools/client/responsive/browser/web-navigation.js
--- a/devtools/client/responsive/browser/web-navigation.js
+++ b/devtools/client/responsive/browser/web-navigation.js
@@ -131,18 +131,17 @@ BrowserElementWebNavigation.prototype = 
   },
   set sessionHistory(value) {
     throw Cr.NS_ERROR_NOT_IMPLEMENTED;
   },
 
   _sendMessage(message, data) {
     try {
       if (this._browser.frameLoader) {
-        const windowGlobal = this._browser.browsingContext
-          .currentWindowGlobal;
+        const windowGlobal = this._browser.browsingContext.currentWindowGlobal;
         if (windowGlobal) {
           windowGlobal
             .getActor("WebNavigation")
             .sendAsyncMessage(message, data);
         }
       }
     } catch (e) {
       Cu.reportError(e);