зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1636348 - Ensure the connection between the about:devtools-toolbox's client and server is closed. r=jdescottes
The `browser_aboutdebugging_navigate_to_url.js` test times out if we don't wait for the about:devtools-toolbox tab to be removed as a target from about:debugging. Differential Revision: https://phabricator.services.mozilla.com/D74467
This commit is contained in:
Родитель
9ae7056be4
Коммит
0ffb21c838
|
@ -40,14 +40,14 @@ add_task(async function() {
|
|||
ok(toolbox.target.title.includes(NEW_TAB_TITLE), "Target's title updated.");
|
||||
is(urlInput.value, NEW_TAB_URL, "Input url updated.");
|
||||
|
||||
info("Remove the about:debugging tab.");
|
||||
await removeTab(tab);
|
||||
|
||||
info("Remove the about:devtools-toolbox tab.");
|
||||
await removeTab(devtoolsTab);
|
||||
|
||||
info("Remove the background tab");
|
||||
await removeTab(debug_tab);
|
||||
await waitUntil(() => !findDebugTargetByText("NEW_TAB_TITLE", document));
|
||||
|
||||
await closeAboutDevtoolsToolbox(document, devtoolsTab, window);
|
||||
|
||||
info("Remove the about:debugging tab.");
|
||||
await removeTab(tab);
|
||||
});
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче