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
This commit is contained in:
Alexandre Poirot 2021-03-22 20:42:22 +00:00
Родитель 4c1bed884e
Коммит f612c014e0
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -156,6 +156,8 @@ add_task(async function() {
nodes = getAllLabels(dbg); nodes = getAllLabels(dbg);
ok(nodes.length > originalNodesCount, "the target node was expanded"); ok(nodes.length > originalNodesCount, "the target node was expanded");
ok(nodes.includes("classList"), "classList is displayed"); ok(nodes.includes("classList"), "classList is displayed");
await resume(dbg);
}); });
function getAllLabels(dbg, withIndent = false) { function getAllLabels(dbg, withIndent = false) {