Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit 1873a4b

Browse files
committed
Fix intermittent test (#5736)
1 parent 0ceecdb commit 1873a4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/mochitest/browser_dbg-editor-select.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ add_task(async function() {
2121
// Call the function that we set a breakpoint in.
2222
invokeInTab("main");
2323
await waitForPaused(dbg);
24-
await waitForLoadedSource(dbg, "simple1");
24+
await waitForSelectedSource(dbg, "simple1");
2525
assertPausedLocation(dbg);
2626

2727
// Step through to another file and make sure it's paused in the
2828
// right place.
2929
await stepIn(dbg);
30-
await waitForLoadedSource(dbg, "simple2");
30+
await waitForSelectedSource(dbg, "simple2");
3131
assertPausedLocation(dbg);
3232

3333
// Step back out to the initial file.
@@ -43,7 +43,7 @@ add_task(async function() {
4343

4444
invokeInTab("testModel");
4545
await waitForPaused(dbg);
46-
await waitForLoadedSource(dbg, "long.js");
46+
await waitForSelectedSource(dbg, "long.js");
4747

4848
assertPausedLocation(dbg);
4949
ok(

0 commit comments

Comments
 (0)