servo/ports/servoshell/desktop
Euclid Ye 9543482f51
webdriver: Greatly improve execution speed for all tests using SetWindowSize (#37712)
1. Remove the unnecessary new thread which use GetWindowRect command and
blocks for 500ms. Previously this is necessary because constellation
forward "resize" to embedder, and WebDriver wait for a constant
sufficient time to `GetWindowRect` in the new thread. This caused long
delay because there are many subtests and SetWindowRect is called
between each.
2. Remove `resize_timeout`
3. Return current dimension instead of 0 from embedder when it fails to
resize.
4. Do resizing as long as one of width/height is `Some`, according to
spec.

Testing: All Conformance test with new passing cases.
Fixes: https://github.com/servo/servo/pull/37663#issuecomment-2999120615

---------

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
2025-07-01 06:26:01 +00:00
..
protocols Initial support for marking custom protocol secure (#36656) 2025-04-25 10:39:33 +00:00
accelerated_gl_media.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
app.rs webdriver: Greatly improve execution speed for all tests using SetWindowSize (#37712) 2025-07-01 06:26:01 +00:00
app_state.rs webdriver: Move NewWebView, FocusWebView, GetWindowSize, and SetWindowSize to servoshell (#37555) 2025-06-25 10:29:34 +00:00
cli.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
dialog.rs Fully support <input type=color> (#36992) 2025-05-15 17:30:38 +00:00
egui_glue.rs servoshell: Enable accesskit integration. (#37519) 2025-06-25 03:52:49 +00:00
events_loop.rs servoshell: Enable accesskit integration. (#37519) 2025-06-25 03:52:49 +00:00
gamepad.rs libservo: Expose a single InputEvent type and pass it to script (#35430) 2025-02-12 17:07:15 +00:00
geometry.rs Use webrender_api::units::DevicePixel rather than style_traits::DevicePixel unless interfacing with Stylo (#34353) 2024-11-25 23:42:04 +00:00
headed_window.rs webdriver: Move NewWebView, FocusWebView, GetWindowSize, and SetWindowSize to servoshell (#37555) 2025-06-25 10:29:34 +00:00
headless_window.rs libservo: Make zooming and HiDPI scaling work per-WebView (#36419) 2025-04-14 12:01:49 +00:00
keyutils.rs [WebDriver] Add synchronization for key action (#37403) 2025-06-18 07:26:44 +00:00
minibrowser.rs servoshell: Enable accesskit integration. (#37519) 2025-06-25 03:52:49 +00:00
mod.rs libservo: Expose a ServoBuilder (#36549) 2025-04-16 16:58:52 +00:00
tracing.rs servoshell: Enable accesskit integration. (#37519) 2025-06-25 03:52:49 +00:00
webxr.rs libservo: Expose a ServoBuilder (#36549) 2025-04-16 16:58:52 +00:00
window_trait.rs servoshell: Ensure that the theme is applied properly on startup (#37128) 2025-05-26 15:09:04 +00:00