From f612c014e0ffd434d8d4fc376f09c7f262a23400 Mon Sep 17 00:00:00 2001 From: Alexandre Poirot Date: Mon, 22 Mar 2021 20:42:22 +0000 Subject: [PATCH] Bug 1699590 - Resume page execution before ending browser_dbg-scopes-duplicated.js test. r=nchevobbe This test doesn't explicitely resume page execution before ending, so I imagine that the spawn task may still be pending as the test closes. Differential Revision: https://phabricator.services.mozilla.com/D109293 --- .../debugger/test/mochitest/browser_dbg-scopes-duplicated.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devtools/client/debugger/test/mochitest/browser_dbg-scopes-duplicated.js b/devtools/client/debugger/test/mochitest/browser_dbg-scopes-duplicated.js index ec51972ffb95..de162e9ca891 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg-scopes-duplicated.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg-scopes-duplicated.js @@ -156,6 +156,8 @@ add_task(async function() { nodes = getAllLabels(dbg); ok(nodes.length > originalNodesCount, "the target node was expanded"); ok(nodes.includes("classList"), "classList is displayed"); + + await resume(dbg); }); function getAllLabels(dbg, withIndent = false) {