forked from mirrors/gecko-dev
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:
parent
0acabc0198
commit
56579ac82d
1 changed files with 4 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ add_task(async function() {
|
||||||
|
|
||||||
info("We pause on the first column breakpoint (before `i` init)");
|
info("We pause on the first column breakpoint (before `i` init)");
|
||||||
await waitForPaused(dbg);
|
await waitForPaused(dbg);
|
||||||
|
await waitForInlinePreviews(dbg);
|
||||||
await assertPausedAtSourceAndLine(
|
await assertPausedAtSourceAndLine(
|
||||||
dbg,
|
dbg,
|
||||||
prettySource.id,
|
prettySource.id,
|
||||||
|
|
@ -60,6 +61,7 @@ add_task(async function() {
|
||||||
"We pause at the second column breakpoint, before the first loop iteration"
|
"We pause at the second column breakpoint, before the first loop iteration"
|
||||||
);
|
);
|
||||||
await waitForPaused(dbg);
|
await waitForPaused(dbg);
|
||||||
|
await waitForInlinePreviews(dbg);
|
||||||
await assertPausedAtSourceAndLine(
|
await assertPausedAtSourceAndLine(
|
||||||
dbg,
|
dbg,
|
||||||
prettySource.id,
|
prettySource.id,
|
||||||
|
|
@ -82,6 +84,7 @@ add_task(async function() {
|
||||||
"We pause at the second column breakpoint, before the second loop iteration"
|
"We pause at the second column breakpoint, before the second loop iteration"
|
||||||
);
|
);
|
||||||
await waitForPaused(dbg);
|
await waitForPaused(dbg);
|
||||||
|
await waitForInlinePreviews(dbg);
|
||||||
await assertPausedAtSourceAndLine(
|
await assertPausedAtSourceAndLine(
|
||||||
dbg,
|
dbg,
|
||||||
prettySource.id,
|
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)"
|
"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 waitForPaused(dbg);
|
||||||
|
await waitForInlinePreviews(dbg);
|
||||||
await assertPausedAtSourceAndLine(
|
await assertPausedAtSourceAndLine(
|
||||||
dbg,
|
dbg,
|
||||||
prettySource.id,
|
prettySource.id,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue