1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 20:25:07 +00:00
serenity/Userland/Libraries/LibWeb/Fetch
Timothy Flynn 115baa7e32 LibJS+Everywhere: Make PrimitiveString and Utf16String fallible
This makes construction of Utf16String fallible in OOM conditions. The
immediate impact is that PrimitiveString must then be fallible as well,
as it may either transcode UTF-8 to UTF-16, or create a UTF-16 string
from ropes.

There are a couple of places where it is very non-trivial to propagate
the error further. A FIXME has been added to those locations.
2023-01-08 12:13:15 +01:00
..
Fetching LibJS+LibWeb: Move the macro to convert ENOMEM to an exception to LibJS 2023-01-08 12:13:15 +01:00
Infrastructure LibJS+LibWeb: Move the macro to convert ENOMEM to an exception to LibJS 2023-01-08 12:13:15 +01:00
Body.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
Body.h LibWeb: Implement '5.3. Body mixin' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
Body.idl LibWeb: Implement '5.3. Body mixin' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
BodyInit.cpp LibJS+LibWeb: Move the macro to convert ENOMEM to an exception to LibJS 2023-01-08 12:13:15 +01:00
BodyInit.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
BodyInit.idl LibWeb: Remove workaround for nested BodyInit IDL union type 2022-10-21 12:11:24 +02:00
Enums.cpp LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
Enums.h LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
FetchMethod.cpp LibJS: Add make_handle({Nonnull,}GCPtr<T>) overloads 2022-12-15 06:56:37 -05:00
FetchMethod.h LibWeb: Implement the fetch() method :^) 2022-10-30 20:10:29 +00:00
Headers.cpp LibJS+LibWeb: Move the macro to convert ENOMEM to an exception to LibJS 2023-01-08 12:13:15 +01:00
Headers.h LibWeb/Fetch: Share validation logic in the Headers class 2022-12-08 15:37:19 +00:00
Headers.idl LibWeb: Implement '5.1. Headers class' from the Fetch API :^) 2022-07-19 00:27:35 +01:00
HeadersIterator.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
HeadersIterator.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
Request.cpp LibJS+LibWeb: Move the macro to convert ENOMEM to an exception to LibJS 2023-01-08 12:13:15 +01:00
Request.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Request.idl LibWeb/Fetch: Add duplex property to Request 2022-10-15 12:15:31 +02:00
Response.cpp LibJS+LibWeb: Move the macro to convert ENOMEM to an exception to LibJS 2023-01-08 12:13:15 +01:00
Response.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Response.idl LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00