servo/components
Delan Azabani 9887ad369d
libservo: Clean up destroyed webview handles (#35547)
When the embedder drops the last WebView handle, the webview is
destroyed, but the weak handle in libservo never gets cleaned up.

This patch adds a step to `spin_event_loop` that cleans up any weak
handles that have been destroyed. In theory, checking the strong count
should be more efficient than trying to upgrade each handle (only to
throw away the strong handle).

Signed-off-by: Delan Azabani <dazabani@igalia.com>
2025-02-20 08:31:44 +00:00
..
allocator Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
background_hang_monitor Only compile platform samplers when cargo feature enabled (#35312) 2025-02-06 06:53:08 +00:00
bluetooth Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
canvas Use surfman with glow bindings (take II) (#35422) 2025-02-13 07:26:38 +00:00
compositing compositing: Split non-WebView-specific data into ServoRenderer (#35536) 2025-02-19 15:29:32 +00:00
config script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
constellation Make WebBluetooth an optional feature. (#35479) 2025-02-18 04:13:43 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools libservo: Flesh out permissions API (#35396) 2025-02-10 15:50:33 +00:00
dom_struct script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
domobject_derive Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
fonts script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
geometry servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
hyper_serde Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout layout: Implement overflow scroll support for different axes (#35414) 2025-02-14 08:14:57 +00:00
layout_2020 layout: Fully support sizing keywords on main size property of flex item (#35471) 2025-02-17 21:19:50 +00:00
layout_thread script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
layout_thread_2020 script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
malloc_size_of script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
media Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
metrics script_traits: Rename ConstellationControlMsg to ScriptThreadMessage (#35226) 2025-01-30 22:46:17 +00:00
net net: Use the unfiltered response status when comparing against cached resources. (#35483) 2025-02-16 13:19:51 +00:00
pixels pixels: Fix webp detection (#35474) 2025-02-19 11:09:16 +00:00
profile script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
rand crypto: Begin SubtleCrypto implementation (#33628) 2024-10-08 03:51:08 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script dom: Implement WritableStream (#34844) 2025-02-19 13:02:14 +00:00
script_bindings dom: Implement WritableStream (#34844) 2025-02-19 13:02:14 +00:00
servo libservo: Clean up destroyed webview handles (#35547) 2025-02-20 08:31:44 +00:00
shared script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
timers deps: Remove some unused Cargo.toml (#35466) 2025-02-14 15:33:14 +00:00
url Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
webdriver_server libservo: Expose a single InputEvent type and pass it to script (#35430) 2025-02-12 17:07:15 +00:00
webgpu deps: Upgrade to webrender@0.66 (#35325) 2025-02-07 11:57:26 +00:00
webxr Use surfman with glow bindings (take II) (#35422) 2025-02-13 07:26:38 +00:00