summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 05:21:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 05:21:19 +0000
commit520a92573ce79e3628762e4ce06e284d50c2e548 (patch)
treedd7bece82fdce266f06a6a2a6043264255631ee7 /devtools/client/debugger
parentAdding debian version 115.10.0esr-1~deb12u1. (diff)
downloadfirefox-esr-520a92573ce79e3628762e4ce06e284d50c2e548.tar.xz
firefox-esr-520a92573ce79e3628762e4ce06e284d50c2e548.zip
Merging upstream version 115.11.0esr.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/debugger')
-rw-r--r--devtools/client/debugger/test/mochitest/browser_dbg-call-stack.js17
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) {