servo/components/shared
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
..
background_hang_monitor script: Eliminate code duplication in the task queue (#34798) 2025-01-01 13:50:52 +00:00
base chore: remove WindowMethods::rendering_context (#34780) 2025-01-01 08:26:23 +00:00
bluetooth doc(resources): Add documentation to undocumented embedder_traits::resources::Resource variants (#33885) 2024-10-18 03:44:14 +00:00
canvas Add initial support for WebGL 2 BlitFramebuffer (#26389) 2025-01-06 18:37:35 +00:00
compositing Add embedder event for preferred color scheme and respond to it in the LayoutThread (#34532) 2024-12-12 06:17:02 +00:00
devtools Support syntax highlighting of arguments in the devtools console (#34810) 2025-01-02 18:47:52 +00:00
embedder Correct a variety of documentation issues (#34786) 2024-12-29 10:37:57 +00:00
fonts 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
profile script: Eliminate code duplication in the task queue (#34798) 2025-01-01 13:50:52 +00:00
script script: Move navigation fetching to the ScriptThread (#34919) 2025-01-10 12:19:40 +00:00
script_layout script: Move the FontContext to Window (#34845) 2025-01-07 04:44:31 +00:00
webrender chore: remove WindowMethods::rendering_context (#34780) 2025-01-01 08:26:23 +00:00