servo/components/net/tests
Delan Azabani 5e9de2cb61
Include WebViewId into EmbedderMsg variants where possible (#35211)
`EmbedderMsg` was previously paired with an implicit
`Option<WebViewId>`, even though almost all variants were either always
`Some` or always `None`, depending on whether there was a `WebView
involved.

This patch adds the `WebViewId` to as many `EmbedderMsg` variants as
possible, so we can call their associated `WebView` delegate methods
without needing to check and unwrap the `Option`. In many cases, this
required more changes to plumb through the `WebViewId`.

Notably, all `Request`s now explicitly need a `WebView` or not, in order
to ensure that it is passed when appropriate.

Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2025-01-30 11:15:35 +00:00
..
parsable_mime Merge net and net_tests 2018-01-20 15:36:09 +01:00
cookie.rs Fix handling of __Secure- and __Host- Cookie prefixes (#33717) 2024-10-09 04:52:48 +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 Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
fetch.rs Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
file_loader.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
filemanager_thread.rs Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
hsts.rs Stop using time@0.1 in Servo (#33394) 2024-09-11 07:09:56 +00:00
http_cache.rs Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
http_loader.rs Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
main.rs Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
mime_classifier.rs clippy: fix warnings in components/net (#31564) 2024-03-10 15:34:16 +00:00
resource_thread.rs make protocol handlers registrable (#33104) 2024-08-22 04:11:16 +00:00
subresource_integrity.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
test.jpeg Merge net and net_tests 2018-01-20 15:36:09 +01:00