Backed out 1 changesets (bug 1561092) for debugger failures on flow and jest tests. CLOSED TREE
authorCosmin Sabou <csabou@mozilla.com>
Mon, 08 Jul 2019 08:53:09 +0300
changeset 544429 49dbe87c01da133fbe2109cb6c37403add2c3149
parent 544428 109fab16fddacbe16a28a8cb9ed8182378fdfef6
child 544430 41e2fd3acd91b0d548ca372a3782d83cb5136678
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1561092
milestone69.0a1
backs out109fab16fddacbe16a28a8cb9ed8182378fdfef6
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
Backed out 1 changesets (bug 1561092) for debugger failures on flow and jest tests. CLOSED TREE Backed out changeset 109fab16fdda (bug 1561092)
devtools/client/debugger/src/actions/ast/setInScopeLines.js
--- a/devtools/client/debugger/src/actions/ast/setInScopeLines.js
+++ b/devtools/client/debugger/src/actions/ast/setInScopeLines.js
@@ -1,17 +1,16 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
 
 // @flow
 
 import {
   hasInScopeLines,
-  hasSourceActor,
   getSourceWithContent,
   getVisibleSelectedFrame,
 } from "../../selectors";
 
 import { getSourceLineCount } from "../../utils/source";
 
 import { range, flatMap, uniq, without } from "lodash";
 import { isFulfilled } from "../../utils/async-value";
@@ -62,21 +61,17 @@ export function setInScopeLines(cx: Cont
     const { getState, dispatch } = thunkArgs;
     const visibleFrame = getVisibleSelectedFrame(getState());
 
     if (!visibleFrame) {
       return;
     }
 
     const { location } = visibleFrame;
-
-    if (
-      hasInScopeLines(getState(), location) ||
-      !hasSourceActor(getState(), location.sourceId)
-    ) {
+    if (hasInScopeLines(getState(), location)) {
       return;
     }
 
     const lines = await getInScopeLines(cx, location, thunkArgs);
 
     dispatch({
       type: "IN_SCOPE_LINES",
       cx,