servo/components/shared
Martin Robinson 226299380d
script: Make timers per-process (#34581)
Before all timers were managed by the Constellation process, meaning
that they had to trigger IPC calls to be scheduled and fired. Currently,
timers are only used in the `ScriptThread`, so it makes sense that they
are per-process.

This change restores the timer thread functionality that existed before
avoided entirely. Completion is done using a callback that is sent to
the timer thread similarly to how fetch is done. This allows reusing the
existing task queue without making any new channels.

Fixes #15219.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-12-24 09:53:35 +00:00
..
background_hang_monitor Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
base Remove size_of_test macro from legacy layout and inline it (#34055) 2024-10-29 14:46:10 +00:00
bluetooth doc(resources): Add documentation to undocumented embedder_traits::resources::Resource variants (#33885) 2024-10-18 03:44:14 +00:00
canvas Replace sparkle with glow in components/canvas (#33918) 2024-11-20 09:05:24 +00:00
compositing Add embedder event for preferred color scheme and respond to it in the LayoutThread (#34532) 2024-12-12 06:17:02 +00:00
devtools Implement console.trace (#34629) 2024-12-18 23:45:06 +00:00
embedder feat: webxr feature flag (#34241) 2024-11-13 17:16:58 +00:00
fonts Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
net Upgrade Rust to 1.82.0 (#34592) 2024-12-12 12:00:51 +00:00
profile Plumb URL into interval profiler tracing events (#34337) 2024-11-22 13:31:00 +00:00
script script: Make timers per-process (#34581) 2024-12-24 09:53:35 +00:00
script_layout script: Manage <iframe> sizes in Window (#34643) 2024-12-16 15:05:33 +00:00
webrender Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00