servo/tests/wpt/meta/fetch/api/basic
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
..
accept-header.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
conditional-get.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
error-after-response.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
gc.any.js.ini Update web-platform-tests to revision b'8f3f629756d7351867a8be36d5f217608b9adc61' (#35065) 2025-01-19 01:36:07 +00:00
header-value-combining.any.js.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
header-value-null-byte.any.js.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
historical.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
http-response-code.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
integrity.sub.any.js.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
keepalive.any.js.ini script: Handle null contexts better during JS runtime shutdown. (#34769) 2024-12-26 08:23:27 +00:00
mediasource.window.js.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
request-forbidden-headers.any.js.ini Improve spec conformance around request header validation (#33418) 2024-09-14 03:01:22 +00:00
request-head.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
request-headers-case.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
request-headers-nonascii.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
request-headers.any.js.ini Fix content-type when creating a Request with FormData body (#36194) 2025-03-28 13:33:07 +00:00
request-private-network-headers.tentative.any.js.ini Improve spec conformance around request header validation (#33418) 2024-09-14 03:01:22 +00:00
request-referrer.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
request-upload.any.js.ini Update web-platform-tests to revision b'daa07cf3c47652ed67e637f2a39bbc34f91cfe10' (#32071) 2024-04-14 04:39:35 +00:00
request-upload.h2.any.js.ini Update web-platform-tests to revision b'd9a5cc25fc5f520bde022cee67e9e6a6f0b588f9' (#31599) 2024-03-10 05:11:24 +00:00
response-null-body.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
scheme-about.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
scheme-blob.sub.any.js.ini Sync WPT with upstream (04-10-2023) (#30493) 2023-10-06 00:51:48 +00:00
scheme-data.any.js.ini Simplify the data: protocol handler (#33500) 2024-09-28 00:19:30 +00:00
scheme-others.sub.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
status.h2.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
stream-response.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
stream-safe-creation.any.js.ini Rename metadata directories 2023-06-22 21:15:41 +02:00
text-utf8.any.js.ini Consume BOM in the text() method of fetch bodies (#36192) 2025-03-28 19:02:48 +00:00