servo/tests/unit
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
..
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
malloc_size_of Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
profile deps: Upgrade to webrender@0.66 (#35325) 2025-02-07 11:57:26 +00:00
script Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
style Cleanup Stylo dependencies (#36046) 2025-03-19 08:53:26 +00:00