diff --git a/src/test/mochitest/browser_dbg-wasm-sourcemaps.js b/src/test/mochitest/browser_dbg-wasm-sourcemaps.js index 14eeb332b3..5604c3f45a 100644 --- a/src/test/mochitest/browser_dbg-wasm-sourcemaps.js +++ b/src/test/mochitest/browser_dbg-wasm-sourcemaps.js @@ -11,6 +11,7 @@ add_task(async function() { await waitForPaused(dbg); assertPausedLocation(dbg); + await waitForSource(dbg, "wasm-sourcemaps/average.c"); await addBreakpoint(dbg, "wasm-sourcemaps/average.c", 12); clickElement(dbg, "resume");