ladybird/Userland/Libraries/LibWeb/Fetch
Tim Ledbetter c6f070d29e LibWeb/Fetch: Don't crash when a fetch request times out
Previously, calling fetch with a signal object provided by
`AbortSignal.timeout()` would cause a crash when the signal timed out.

We now push a `TemporaryExecutionContext` to the stack when we invoke
the signal's abort steps, as an execution context is required when
calling native functions.
2024-04-14 13:36:25 +02:00
..
Fetching LibWeb: Prefer GCPtr<T> over Optional<NonnullGCPtr<T>> 2024-04-07 18:01:05 +02:00
Infrastructure LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
Body.cpp LibWeb: Add and use a helper to reject a promise with an exception 2024-03-08 14:14:57 -05:00
Body.h LibWeb: Make Fetch::Infrastructure::Body be GC allocated 2023-08-19 15:12:00 +02:00
Body.idl IDL: Add missing #imports 2023-11-11 08:51:51 +01:00
BodyInit.cpp LibWeb: Avoid UAF when encoding a fetch request body via URLSearchParams 2024-04-03 17:14:01 -04:00
BodyInit.h LibWeb: Rename URL platform object to DOMURL 2024-02-25 08:54:31 +01:00
BodyInit.idl LibWeb: Rename URL platform object to DOMURL 2024-02-25 08:54:31 +01:00
Enums.cpp LibWeb: Consistently use the EmptyString state of ReferrerPolicy 2024-03-06 07:19:10 +01:00
Enums.h LibWeb: Consistently use the EmptyString state of ReferrerPolicy 2024-03-06 07:19:10 +01:00
FetchMethod.cpp LibWeb/Fetch: Don't crash when a fetch request times out 2024-04-14 13:36:25 +02:00
FetchMethod.h LibWeb/HTML: Port Window.fetch() to IDL 2023-03-07 23:33:34 +00:00
Headers.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
Headers.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
Headers.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
HeadersIterator.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
HeadersIterator.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
Request.cpp LibWeb/Fetch: Replace usages of AbortSignal::follow() in Fetch::Request 2024-03-26 11:42:40 +01:00
Request.h LibWeb/Fetch: Replace usages of AbortSignal::follow() in Fetch::Request 2024-03-26 11:42:40 +01:00
Request.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
Response.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
Response.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
Response.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00