servo/python
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
..
mach change terminal wrapper library from blessing to blessed to support running mach test-wpt on windows. (#35327) 2025-02-06 16:45:34 +00:00
servo OHOS: Fix speedometer hang sometimes. (#37995) 2025-07-11 09:22:48 +00:00
tidy Mach clippy & test-tidy github inline annotation (#37294) 2025-06-22 15:30:19 +00:00
wpt WPT upstreamer: Make all failed merge operations leave a comment. (#37949) 2025-07-09 17:43:15 +00:00
mach_bootstrap.py Use ruff to enforce python code formatting (#37117) 2025-05-26 11:54:43 +00:00
README.md use ruff rather than flake8 for python code linting (#37045) 2025-05-24 14:19:47 +00:00
requirements.txt use ruff rather than flake8 for python code linting (#37045) 2025-05-24 14:19:47 +00:00

This directory contains various Python modules used to support servo development.

servo

servo-specific python code e.g. implementations of mach commands. This is the canonical repository for this code.

tidy

servo-tidy is used to check licenses, line lengths, whitespace, ruff on Python files, lock file versions, and more.

wpt

servo-wpt is a module with support scripts for running, importing, exporting, updating manifests, and updating expectations for WPT tests.