servo/python/servo
Narfinger 90a73f7021
OHOS: Fix speedometer hang sometimes. (#37995)
This fixes the speedometer hang on CI.
Sometimes on CI we have the servoshell app not being in the foreground
(because popups have higher priority). Then, for some reason the
eventloop does not get pumped after some time.
This fixes this and is consistent with the current code in android.

Here is a succesful run
https://github.com/Narfinger/servo/actions/runs/16214904687/job/45782241427.
This needs also https://github.com/servo/servo/pull/37994 to be
successful but these two PR are independent.

Testing: Having the usb popup on the screen while running speedometer
without this changes hangs consistently (until input which calls
present_if_needed). With this change the hang does not occur anymore.
Fixes: I think https://github.com/servo/servo/issues/37727 is the same
issue and I confirmed that in the above case testinput does nothing
useful. We will see if this occurs again.

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
2025-07-11 09:22:48 +00:00
..
devtools_tests DevTools: sources for HTML files should be the whole HTML file (#37456) 2025-06-21 18:46:35 +00:00
mutation Use ruff to enforce python code formatting (#37117) 2025-05-26 11:54:43 +00:00
platform android/ohos: Respect user provided TARGET_CFLAGS (#37563) 2025-06-19 16:15:57 +00:00
__init__.py
bootstrap_commands.py Use ruff to enforce python code formatting (#37117) 2025-05-26 11:54:43 +00:00
build_commands.py Fix DBus warning when running mach (#37818) 2025-07-02 23:17:01 +00:00
command_base.py mach: macos: Don't let gstreamer override symbols (#37903) 2025-07-08 06:12:03 +00:00
devenv_commands.py Remove cargo-update, update-cargo, grep, ndk-stack, and ndk-gdb mach commands (#37874) 2025-07-04 11:36:33 +00:00
devtools_tests.py DevTools: sources for HTML files should be the whole HTML file (#37456) 2025-06-21 18:46:35 +00:00
gstreamer.py mach: Add TSAN support (#37195) 2025-06-13 12:26:57 +00:00
package_commands.py mach: Add TSAN support (#37195) 2025-06-13 12:26:57 +00:00
post_build_commands.py Use ruff to enforce python code formatting (#37117) 2025-05-26 11:54:43 +00:00
testing_commands.py OHOS: Fix speedometer hang sometimes. (#37995) 2025-07-11 09:22:48 +00:00
try_parser.py servoshell: Set dom_testing_html_input_element_select_files_enabled when WebDriver is enabled (#37873) 2025-07-04 10:02:41 +00:00
util.py Use ruff to enforce python code formatting (#37117) 2025-05-26 11:54:43 +00:00
visual_studio.py Use ruff to enforce python code formatting (#37117) 2025-05-26 11:54:43 +00:00