mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
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> |
||
---|---|---|
.. | ||
protocols | ||
accelerated_gl_media.rs | ||
app.rs | ||
app_state.rs | ||
cli.rs | ||
dialog.rs | ||
egui_glue.rs | ||
events_loop.rs | ||
gamepad.rs | ||
geometry.rs | ||
headed_window.rs | ||
headless_window.rs | ||
keyutils.rs | ||
minibrowser.rs | ||
mod.rs | ||
tracing.rs | ||
webxr.rs | ||
window_trait.rs |