diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-21 05:22:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-21 05:22:11 +0000 |
commit | 724b36b7051c0d9190cbd8854ba5919904967c11 (patch) | |
tree | 8996ac57bf70972bf524e865e0845cd54aab6f6b /devtools | |
parent | Releasing progress-linux version 115.10.0esr-1~deb12u1progress7u1. (diff) | |
download | firefox-esr-724b36b7051c0d9190cbd8854ba5919904967c11.tar.xz firefox-esr-724b36b7051c0d9190cbd8854ba5919904967c11.zip |
Merging upstream version 115.11.0esr.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | devtools/client/debugger/test/mochitest/browser_dbg-call-stack.js | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/devtools/client/debugger/test/mochitest/browser_dbg-call-stack.js b/devtools/client/debugger/test/mochitest/browser_dbg-call-stack.js index 6b557cb24f..4d8720d395 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg-call-stack.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg-call-stack.js @@ -19,6 +19,8 @@ add_task(async function () { const button = toggleButton(dbg); ok(!button, "toggle button shouldn't be there"); + + await resume(dbg); }); add_task(async function () { @@ -53,9 +55,13 @@ add_task(async function () { const found = findElement(dbg, "callStackBody"); is(found, null, "Call stack is hidden"); - SpecialPowers.spawn(gBrowser.selectedBrowser, [], function () { - content.document.querySelector("button.pause").click(); - }); + const pausedContent = SpecialPowers.spawn( + gBrowser.selectedBrowser, + [], + function () { + content.document.querySelector("button.pause").click(); + } + ); await waitForPaused(dbg); const $group = findElementWithSelector(dbg, ".frames .frames-group"); @@ -69,6 +75,11 @@ add_task(async function () { "Angular", "Group has expected location" ); + + await resume(dbg); + + info("Wait for content to be resumed"); + await pausedContent; }); function toggleButton(dbg) { |