servo/components/shared
Martin Robinson 5424479768
metrics: Simplify ProgressiveWebMetrics (#35985)
Simply how `ProgressiveWebMetrics` works:

1. Keep only a single struct instead of one in layout and one script
   that both implement the `ProgressiveWebMetrics` trait. Since layout
   and script are the same thread these can now just be a single
   `ProgressiveWebMetrics` struct stored in script.
2. Have the compositor be responsible for informing the Constellation
   (which informs the ScripThread) about paint metrics. This makes
   communication flow one way and removes one dependency between the
   compositor and script (of two).
3. All units tests are moved into the `metrics` crate itself since there
   is only one struct there now.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-03-21 14:55:00 +00:00
..
background_hang_monitor script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
base base: Finish rename of TopLevelBrowsingContextId to WebViewId (#35896) 2025-03-11 10:56:10 +00:00
bluetooth Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
canvas Cleanup Stylo dependencies (#36046) 2025-03-19 08:53:26 +00:00
compositing metrics: Simplify ProgressiveWebMetrics (#35985) 2025-03-21 14:55:00 +00:00
devtools devtools: Use webview_id as browser_id (#35956) 2025-03-19 08:59:38 +00:00
embedder Cleanup Stylo dependencies (#36046) 2025-03-19 08:53:26 +00:00
fonts Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
net Implement nonce attribute to pass more CSP checks (#35876) 2025-03-10 09:25:34 +00:00
profile metrics: Simplify ProgressiveWebMetrics (#35985) 2025-03-21 14:55:00 +00:00
script metrics: Simplify ProgressiveWebMetrics (#35985) 2025-03-21 14:55:00 +00:00
script_layout metrics: Simplify ProgressiveWebMetrics (#35985) 2025-03-21 14:55:00 +00:00
webrender metrics: Simplify ProgressiveWebMetrics (#35985) 2025-03-21 14:55:00 +00:00
webxr Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00