servo/components/net/tests
Usman Yahaya Baba a27715a5a8
Calculate and send the missing transferred_size and content_size to dev tools (#38216)
The current behaviour in dev tools network monitor is missing data for
the `Transferred` size and `Content` size.
We currently have a fn `response_content` that constructs the
`ResponseContentMsg` struct where the two missing data fields are
defined and set to zero values.
These current changes calculates the data in the `response_content` fn
and sends a `NetworkEvent::HttpResponse` to the client when the final
body is done.
Currently, we have data appearing in the `Transferred` column of the
network panel
fixes: https://github.com/servo/servo/issues/38126

---------

Signed-off-by: uthmaniv <uthmanyahayababa@gmail.com>
2025-08-02 02:41:53 +00:00
..
cookie.rs net: Add expiry limit to cookies and prevent panics from max-age (#38376) 2025-07-31 02:52:50 +00:00
cookie_http_state.rs dependencies: Upgrade cookie and rename Servo's Cookie to ServoCookie (#32861) 2024-07-26 16:13:39 +00:00
cookie_http_state_utils.py Fix remaining flake8 warnings 2020-06-21 03:34:32 +02:00
data_loader.rs Send WillNavigate earlier during navigation startup (#37778) 2025-07-05 11:35:37 +00:00
fetch.rs Calculate and send the missing transferred_size and content_size to dev tools (#38216) 2025-08-02 02:41:53 +00:00
file_loader.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
filemanager_thread.rs servoshell: Migrate to egui-file-dialog from tinyfiledialogs (#34823) 2025-02-04 18:24:24 +00:00
hsts.rs Replace hsts preload list hashmap with an FST (#37015) 2025-05-20 04:26:55 +00:00
http_cache.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
http_loader.rs Calculate and send the missing transferred_size and content_size to dev tools (#38216) 2025-08-02 02:41:53 +00:00
main.rs Implement basics of link preloading (#37036) 2025-05-29 11:26:27 +00:00
resource_thread.rs libservo: Remove a couple EmbedderMethods (#36276) 2025-04-01 22:59:50 +00:00
subresource_integrity.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
test.css tests: Use Ahem font provided by WPT harness. (#37054) 2025-06-09 08:13:05 +00:00
test.jpeg Merge net and net_tests 2018-01-20 15:36:09 +01:00