diff --git a/src/test/mochitest/browser_dbg-minified.js b/src/test/mochitest/browser_dbg-minified.js index a878d6370d..946a85d00f 100644 --- a/src/test/mochitest/browser_dbg-minified.js +++ b/src/test/mochitest/browser_dbg-minified.js @@ -16,6 +16,8 @@ function getScopeNodeValue(dbg, index) { } add_task(async function() { + await pushPref("devtools.debugger.features.map-scopes", true); + const dbg = await initDebugger("doc-minified2.html"); await waitForSources(dbg, "sum.js"); diff --git a/src/test/mochitest/browser_dbg-sourcemaps3.js b/src/test/mochitest/browser_dbg-sourcemaps3.js index a89e9c079b..27abc9359b 100644 --- a/src/test/mochitest/browser_dbg-sourcemaps3.js +++ b/src/test/mochitest/browser_dbg-sourcemaps3.js @@ -25,6 +25,7 @@ async function waitForScopeNode(dbg, index) { add_task(async function() { // NOTE: the CORS call makes the test run times inconsistent requestLongerTimeout(2); + await pushPref("devtools.debugger.features.map-scopes", true); const dbg = await initDebugger("doc-sourcemaps3.html"); const { selectors: { getBreakpoint, getBreakpoints }, getState } = dbg;