1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 12:05:08 +00:00
serenity/Userland/Libraries/LibWeb/Fetch
Linus Groh 0aca69853c LibWeb: Add abort algorithm after creating controller in fetch_impl()
This ensures that the controller GCPtr is non-null by the time we
capture a copy of it for the lambda passed to the request signal's
add_abort_algorithm() method. Currently, the VERIFY() would always fail
when aborting the signal. The alternative to this would be adding a cell
setter to Handle, and ensuring that null handles have a HandleImpl as
well; this seems not worth the hassle right now. Thanks to Lubrsi for
catching this!

Co-authored-by: Luke Wilde <lukew@serenityos.org>
2022-11-04 22:35:45 +00:00
..
Fetching LibWeb: Register PendingResponse with a Request to keep it alive 2022-11-01 20:14:12 +00:00
Infrastructure LibWeb: Register PendingResponse with a Request to keep it alive 2022-11-01 20:14:12 +00:00
Body.cpp LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +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 LibWeb: Implement 'Safely extract BodyInit' AO 2022-10-30 20:10:29 +00:00
BodyInit.h LibWeb: Implement 'Safely extract BodyInit' AO 2022-10-30 20:10:29 +00: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 LibWeb: Add abort algorithm after creating controller in fetch_impl() 2022-11-04 22:35:45 +00:00
FetchMethod.h LibWeb: Implement the fetch() method :^) 2022-10-30 20:10:29 +00:00
Headers.cpp LibWeb: Make Fetch::Infrastructure::{Request,Response,HeaderList} GC'd 2022-10-30 11:30:23 +00:00
Headers.h LibWeb: Make Fetch::Infrastructure::{Request,Response,HeaderList} GC'd 2022-10-30 11:30:23 +00:00
Headers.idl LibWeb: Implement '5.1. Headers class' from the Fetch API :^) 2022-07-19 00:27:35 +01:00
HeadersIterator.cpp LibWeb: Remove unecessary dependence on Window from Fetch, XHR, FileAPI 2022-10-01 21:05:32 +01:00
HeadersIterator.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
Request.cpp LibWeb: Properly copy method and headers from the input in Request() 2022-11-04 22:35:45 +00:00
Request.h LibWeb: Make Fetch::Infrastructure::{Request,Response,HeaderList} GC'd 2022-10-30 11:30:23 +00:00
Request.idl LibWeb/Fetch: Add duplex property to Request 2022-10-15 12:15:31 +02:00
Response.cpp LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
Response.h LibWeb: Make Fetch::Infrastructure::{Request,Response,HeaderList} GC'd 2022-10-30 11:30:23 +00:00
Response.idl LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00