Bug 1533943 - Fixed eslint failure at browser/web-navigation.js on a CLOSED TREE.
☠☠ backed out by 34daa01d30f7 ☠ ☠
authorGurzau Raul <rgurzau@mozilla.com>
Thu, 14 Nov 2019 03:57:50 +0200
changeset 501875 15e1d046f2905279d6f0f151919a07231f0676ac
parent 501874 697506c8c54e4a01e1355fbf967b9a52bd656f6e
child 501876 3cf4cf89e8ea13ac159ef96d9688d51403ad5994
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);