diff --git a/src/test/mochitest/browser_dbg-babel-scopes.js b/src/test/mochitest/browser_dbg-babel-scopes.js index e719954f5d..e7e3d756e5 100644 --- a/src/test/mochitest/browser_dbg-babel-scopes.js +++ b/src/test/mochitest/browser_dbg-babel-scopes.js @@ -1,6 +1,9 @@ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ +// This test can be really slow on debug platforms and should be split. +requestLongerTimeout(4); + // Tests loading sourcemapped sources for Babel's compile output. async function breakpointScopes(dbg, fixture, { line, column }, scopes) { @@ -86,8 +89,6 @@ async function assertScopes(dbg, items) { } add_task(async function() { - requestLongerTimeout(2); - await pushPref("devtools.debugger.features.map-scopes", true); const dbg = await initDebugger("doc-babel.html");