зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1430408 - Part 2: Wait for the next event tick after transitionend event to make sure the all event handlers finish in devtools/client/debugger/test/mochitest/browser_dbg_instruments-pane-collapse_keyboard.js r=pbro
This commit is contained in:
Родитель
037c33bc9a
Коммит
df159bed3e
|
@ -35,4 +35,8 @@ async function togglePane(button, message, pane, keycode) {
|
|||
button.focus();
|
||||
EventUtils.synthesizeKey(keycode, {});
|
||||
await onTransitionEnd;
|
||||
|
||||
// Wait for the next event tick to make sure all transitionend event
|
||||
// handlers finish.
|
||||
await waitForTick();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче