Bug 1518613 - [release 118] fixed xhrBreakpoints to check xhrBreakpointsVisible (#7686). r=dwalsh
authorJason Laster <jlaster@mozilla.com>
Tue, 08 Jan 2019 15:49:28 -0500
changeset 510280 96980f0551d66a5b242dfc9868ca2092d775b504
parent 510279 bbaced0dd3961312e15f27674b7c19c9766c95e5
child 510281 84592ed99abd4c79e597f0eb90a48b80a3d5ba58
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdwalsh
bugs1518613
milestone66.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 1518613 - [release 118] fixed xhrBreakpoints to check xhrBreakpointsVisible (#7686). r=dwalsh
devtools/client/debugger/new/src/components/SecondaryPanes/index.js
--- a/devtools/client/debugger/new/src/components/SecondaryPanes/index.js
+++ b/devtools/client/debugger/new/src/components/SecondaryPanes/index.js
@@ -181,17 +181,17 @@ class SecondaryPanes extends Component<P
   }
 
   xhrBreakpointsHeaderButtons() {
     const buttons = [];
 
     buttons.push(
       debugBtn(
         evt => {
-          if (prefs.expressionsVisible) {
+          if (prefs.xhrBreakpointsVisible) {
             evt.stopPropagation();
           }
           this.setState({ showXHRInput: true });
         },
         "plus",
         "plus",
         L10N.getStr("xhrBreakpoints.label")
       )