servo/components
Andreu Botella 95c3033456
Consume BOM in the text() method of fetch bodies (#36192)
In the fetch spec, the `text()` method of `Body` (an interface mixin
implemented by both `Request` and `Response`) consumes the body with
the Encoding spec "UTF-8 decode" algorithm, which skips the UTF-8 BOM
if it is present at the beginning of the body. Servo's implementation
does not do that. This patch fixes this.

Signed-off-by: Andreu Botella <abotella@igalia.com>
2025-03-28 19:02:48 +00:00
..
allocator chore: Move unsafe operations in unsafe functions to unsafe blocks (#36017) 2025-03-18 06:19:35 +00:00
background_hang_monitor chore: Move unsafe operations in unsafe functions to unsafe blocks (#36017) 2025-03-18 06:19:35 +00:00
bluetooth Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
canvas Add Path2D (#35783) 2025-03-26 12:12:44 +00:00
compositing compositor: Remove the script channel from the compositor (#36089) 2025-03-23 11:19:27 +00:00
config Start implementing the URLPattern API (#36144) 2025-03-27 10:39:57 +00:00
constellation Allow setting userscripts directly without the need of files (#35388) 2025-03-27 03:00:08 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools devtools: refactor network related (#36093) 2025-03-22 14:46:57 +00:00
dom_struct script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
domobject_derive Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
fonts Upgrade to Stylo e941241 (#36120) 2025-03-25 10:45: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 Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout_2020 script: Eliminate PseudoElementType (#36146) 2025-03-26 08:33:12 +00:00
layout_thread_2020 chore: Remove unused generation counter field from LayoutThread (#36172) 2025-03-26 21:57:39 +00:00
malloc_size_of Cleanup Stylo dependencies (#36046) 2025-03-19 08:53:26 +00:00
media Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
metrics Made MAX_TASK_NS u128. Also removed a superfluous into(). Both were required to fix #36122 with nightly 1.85.0 (4d91de4e4 2025-02-17). (#36169) 2025-03-27 10:02:53 +00:00
net net: Add missing feature required for unit tests. (#36193) 2025-03-28 12:04:02 +00:00
pixels pixels: Extend Image to allow for multiple frames (#36058) 2025-03-21 10:32:14 +00:00
profile Use strum to iterate through enum variants and get their names (#35933) 2025-03-13 12:00:31 +00:00
rand Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script Consume BOM in the text() method of fetch bodies (#36192) 2025-03-28 19:02:48 +00:00
script_bindings Stop using RootedGuard's DerefMut impl (#36158) 2025-03-28 12:39:42 +00:00
servo Allow setting userscripts directly without the need of files (#35388) 2025-03-27 03:00:08 +00:00
shared Allow setting userscripts directly without the need of files (#35388) 2025-03-27 03:00:08 +00:00
timers Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
url Eliminate to_shmem dependency from servo_url (#35897) 2025-03-11 00:33:39 +00:00
webdriver_server Create a constellation_traits crate (#36088) 2025-03-22 15:49:08 +00:00
webgpu webgpu: leverage routed_promise in calls returning promises (#35859) 2025-03-23 18:52:46 +00:00
webxr Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00