servo/components/shared/net
Martin Robinson fbd77b4524
script: Move navigation fetching to the ScriptThread (#34919)
This allows reusing the asynchrnous fetch mechanism that we use for page
resources and is likely a step toward removing the `FetchThread`.

Benefits:
 - Reduces IPC traffic during navigation. Now instead of bouncing
   between the constellation and the `ScriptThread` responses are sent
   directly to the `ScriptThread`.
 - Allows cancelling loads after redirects, which was not possible
   before.

There is the question of what to do when a redirect is cross-origin
(#23037). This currently isn't handled properly as the `Constellation`
sends data to the same `Pipeline` that initiated the load. This change
doesn't fix this issue, but does make it more possible for the
`ScriptThread` to shut down the pipeline and ask the `Constellation` to
replace it with a new one.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-01-10 12:19:40 +00:00
..
fetch fix many clippy warnings (#33510) 2024-09-21 13:58:31 +00:00
tests script: Create a CrossProcessInstant to enable serializable monotonic time (#33282) 2024-09-05 18:50:09 +00:00
blob_url_store.rs Fix more clippy warnings in components/shared/net (#31548) 2024-03-10 17:47:38 +00:00
Cargo.toml Add http2 feature for hyper-util (#34920) 2025-01-09 13:37:08 +00:00
filemanager_thread.rs Stop using time@0.1 in Servo (#33394) 2024-09-11 07:09:56 +00:00
http_status.rs Create HttpStatus to safely deal with HTTP responses status. (#33581) 2024-09-29 18:23:48 +00:00
image_cache.rs compositor: Create a single cross-process compositor API (#33619) (#33660) 2024-10-09 17:30:24 +00:00
lib.rs script: Move navigation fetching to the ScriptThread (#34919) 2025-01-10 12:19:40 +00:00
policy_container.rs Remove referrer policy from document (#34263) 2024-11-19 12:45:10 +00:00
pub_domains.rs fix many clippy warnings (#33510) 2024-09-21 13:58:31 +00:00
quality.rs Fixes for HTTP header compliance. (#32024) 2024-04-11 21:51:23 +00:00
request.rs Remove obselete request parameter. (#34867) 2025-01-07 06:31:27 +00:00
response.rs Remove referrer policy from document (#34263) 2024-11-19 12:45:10 +00:00
storage_thread.rs Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00