зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1570897 - Add test to check that about:devtools-toolbox is focused after reload r=ochameau
Depends on D40232 Differential Revision: https://phabricator.services.mozilla.com/D40390 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
5632d25ece
Коммит
84eb11c4cf
|
@ -57,6 +57,13 @@ async function testReloadAboutDevToolsToolbox(toolId) {
|
||||||
await gDevTools.once("toolbox-ready");
|
await gDevTools.once("toolbox-ready");
|
||||||
ok(true, "Toolbox is re-created again");
|
ok(true, "Toolbox is re-created again");
|
||||||
|
|
||||||
|
// Check that about:devtools-toolbox is still selected tab. See Bug 1570692.
|
||||||
|
is(
|
||||||
|
devtoolsBrowser,
|
||||||
|
gBrowser.selectedBrowser,
|
||||||
|
"about:devtools-toolbox is still selected"
|
||||||
|
);
|
||||||
|
|
||||||
info("Check whether about:devtools-toolbox page displays correctly");
|
info("Check whether about:devtools-toolbox page displays correctly");
|
||||||
ok(
|
ok(
|
||||||
devtoolsBrowser.contentDocument.querySelector(".debug-target-info"),
|
devtoolsBrowser.contentDocument.querySelector(".debug-target-info"),
|
||||||
|
|
Загрузка…
Ссылка в новой задаче