зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1607448 - Properly wait for messages to be evaluated in browser_webconsole_reverse_search_keyboard_navigation. r=Honza.
Without this patch, sometimes the result messages were added as the toolbox was closing, which emits very long messages from the ignore middleware, making parsing logs almost impossible. Differential Revision: https://phabricator.services.mozilla.com/D58950 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d05bf2278f
Коммит
7f2f52e294
|
@ -20,7 +20,7 @@ add_task(async function() {
|
||||||
`Dog = "Snoopy"`,
|
`Dog = "Snoopy"`,
|
||||||
];
|
];
|
||||||
|
|
||||||
const onLastMessage = waitForMessage(hud, `"Snoopy"`);
|
const onLastMessage = waitForMessage(hud, `"Snoopy"`, ".result");
|
||||||
for (const input of jstermHistory) {
|
for (const input of jstermHistory) {
|
||||||
execute(hud, input);
|
execute(hud, input);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче