Bug 1822568 - [devtools] Fix browser_dbg-pretty-print-breakpoints-columns.js intermittent. r=devtools-reviewers,bomsy.

Differential Revision: https://phabricator.services.mozilla.com/D172980
This commit is contained in:
Nicolas Chevobbe 2023-03-20 10:02:50 +00:00
parent 0acabc0198
commit 56579ac82d

View File

@ -48,6 +48,7 @@ add_task(async function() {
info("We pause on the first column breakpoint (before `i` init)");
await waitForPaused(dbg);
await waitForInlinePreviews(dbg);
await assertPausedAtSourceAndLine(
dbg,
prettySource.id,
@ -60,6 +61,7 @@ add_task(async function() {
"We pause at the second column breakpoint, before the first loop iteration"
);
await waitForPaused(dbg);
await waitForInlinePreviews(dbg);
await assertPausedAtSourceAndLine(
dbg,
prettySource.id,
@ -82,6 +84,7 @@ add_task(async function() {
"We pause at the second column breakpoint, before the second loop iteration"
);
await waitForPaused(dbg);
await waitForInlinePreviews(dbg);
await assertPausedAtSourceAndLine(
dbg,
prettySource.id,
@ -95,6 +98,7 @@ add_task(async function() {
"We pause at the second column breakpoint, before we exit the loop (`items.length` is 2, so the condition will fail)"
);
await waitForPaused(dbg);
await waitForInlinePreviews(dbg);
await assertPausedAtSourceAndLine(
dbg,
prettySource.id,