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:
Nicolas Chevobbe 2020-01-08 09:48:55 +00:00
Родитель d05bf2278f
Коммит 7f2f52e294
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -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);
} }