mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
21041eaa5a
The likely steps that lead to intermittent failures in browser_markupview_keybindings_04.js are: 1) UP key is pressed, the test waits for child updates and node-highlight event. 2) Once those have finished, the selection has changed to <body> BUT the inspector-updated event for the change has not been emitted (child node update finishes before the event is emitted). 3) The test calls selectWithElementPicker() presses ENTER to pick the <div> element and starts to wait for an inspector-updated event. 4) The inspector-updated event from (1) is finally emitted and the test continues BUT the selection change at (3) has not yet completed. This means <body> is still selected and the assertion fails. Since a new selection will always cause the inspector-updated event to be emitted it makes sense to wait for it after pressing UP. |
||
---|---|---|
.. | ||
test | ||
html-editor.js | ||
markup-view.css | ||
markup-view.js | ||
markup-view.xhtml | ||
moz.build |