зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1172653 - Prevent leaks in browser_markupview_keybindings_02.js by waiting for the console to be ready; r=me
--HG-- extra : rebase_source : 20fc91f3408ac4ef712e2555739f6c63c6f44b11
This commit is contained in:
Родитель
1947969293
Коммит
57c2461e0f
|
@ -18,8 +18,10 @@ add_task(function*() {
|
|||
|
||||
info("Pressing ESC and wait for the split-console to open");
|
||||
let onSplitConsole = toolbox.once("split-console");
|
||||
let onConsoleReady = toolbox.once("webconsole-ready");
|
||||
EventUtils.synthesizeKey("VK_ESCAPE", {}, inspector.panelWin);
|
||||
yield onSplitConsole;
|
||||
yield onConsoleReady;
|
||||
ok(toolbox.splitConsole, "The split console is shown.");
|
||||
|
||||
info("Pressing ESC again and wait for the split-console to close");
|
||||
|
|
Загрузка…
Ссылка в новой задаче