servo/components
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
..
allocator Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
background_hang_monitor Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
bluetooth Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
canvas webgl: shutdown webrender before acknowledging Exit message (#34917) 2025-01-09 09:24:50 +00:00
compositing Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
config webxr: create glwindow with Rc window and without rendering context (#34813) 2025-01-03 03:01:30 +00:00
config_plugins add allow(non_camel_case_types) to generated pref structs (#33987) 2024-10-24 09:36:13 +00:00
constellation script: Move navigation fetching to the ScriptThread (#34919) 2025-01-10 12:19:40 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools Support syntax highlighting of arguments in the devtools console (#34810) 2025-01-02 18:47:52 +00:00
dom_struct Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
domobject_derive Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
fonts script: Move navigation fetching to the ScriptThread (#34919) 2025-01-10 12:19:40 +00:00
geometry servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
hyper_serde Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
layout_2020 layout: grid-template getComputedStyle cleanup (#34926) 2025-01-10 09:04:49 +00:00
layout_thread script: Move the FontContext to Window (#34845) 2025-01-07 04:44:31 +00:00
layout_thread_2020 script: Move the FontContext to Window (#34845) 2025-01-07 04:44:31 +00:00
malloc_size_of script: Move the FontContext to Window (#34845) 2025-01-07 04:44:31 +00:00
media Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
metrics Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
net script: Move navigation fetching to the ScriptThread (#34919) 2025-01-10 12:19:40 +00:00
pixels Optimized unmultiply_inplace to remove fp ops (#33582) 2024-09-30 19:39:27 +00:00
profile script: Eliminate code duplication in the task queue (#34798) 2025-01-01 13:50:52 +00:00
rand crypto: Begin SubtleCrypto implementation (#33628) 2024-10-08 03:51:08 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script script: Move navigation fetching to the ScriptThread (#34919) 2025-01-10 12:19:40 +00:00
servo script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
shared script: Move navigation fetching to the ScriptThread (#34919) 2025-01-10 12:19:40 +00:00
timers script: Make timers per-process (#34581) 2024-12-24 09:53:35 +00:00
url Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
webdriver_server Update all network-related dependencies to the latest versions (#34630) 2025-01-08 05:47:58 +00:00
webgpu Update wgpu for supporting TextureView.usage (#34721) 2024-12-21 05:18:27 +00:00