1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 20:25:07 +00:00
serenity/Userland/Libraries/LibWeb/Fetch/Infrastructure
Linus Groh 216f68c566 LibWeb: Register PendingResponse with a Request to keep it alive
This was an oversight from when I converted PendingResponse and various
other classes from being ref-counted to GC-allocated last minute - no
one takes care to keep all of them alive. Some are on the stack, and
some might be captured in another PendingResponse's JS::SafeFunction,
but ultimately, we need a better solution.
Since a PendingResponse is *always* the result of someone having created
a Request, let's just let that keep a list of each PendingResponse that
has been created for it, and visit them until they are resolved. After
that, they can be GC'd with no complaints.
2022-11-01 20:14:12 +00:00
..
HTTP LibWeb: Register PendingResponse with a Request to keep it alive 2022-11-01 20:14:12 +00:00
ConnectionTimingInfo.cpp LibWeb: Implement 'connection timing info' struct 2022-10-30 20:10:29 +00:00
ConnectionTimingInfo.h LibWeb: Implement 'connection timing info' struct 2022-10-30 20:10:29 +00:00
FetchAlgorithms.cpp LibWeb: Implement container class for fetch algorithms 2022-10-30 20:10:29 +00:00
FetchAlgorithms.h LibWeb: Implement container class for fetch algorithms 2022-10-30 20:10:29 +00:00
FetchController.cpp LibWeb: Implement 'fetch controller' struct 2022-10-30 20:10:29 +00:00
FetchController.h LibWeb: Implement 'fetch controller' struct 2022-10-30 20:10:29 +00:00
FetchParams.cpp LibWeb: Implement 'fetch params' struct 2022-10-30 20:10:29 +00:00
FetchParams.h LibWeb: Implement 'fetch params' struct 2022-10-30 20:10:29 +00:00
FetchTimingInfo.cpp LibWeb: Implement 'fetch timing info' struct 2022-10-30 20:10:29 +00:00
FetchTimingInfo.h LibWeb: Implement 'fetch timing info' struct 2022-10-30 20:10:29 +00:00
HTTP.cpp LibWeb: Move Fetch infra into the Web::Fetch::Infrastructure namespace 2022-07-19 00:27:35 +01:00
HTTP.h LibWeb: Move Fetch infra into the Web::Fetch::Infrastructure namespace 2022-07-19 00:27:35 +01:00
MimeTypeBlocking.cpp LibWeb: Implement 'Should response be blocked due to its MIME type?' AO 2022-10-30 20:10:29 +00:00
MimeTypeBlocking.h LibWeb: Implement 'Should response be blocked due to its MIME type?' AO 2022-10-30 20:10:29 +00:00
NoSniffBlocking.cpp LibWeb: Implement 'Should response be blocked due to nosniff?' AO 2022-10-30 20:10:29 +00:00
NoSniffBlocking.h LibWeb: Implement 'Should response be blocked due to nosniff?' AO 2022-10-30 20:10:29 +00:00
PortBlocking.cpp LibWeb: Implement 'Should request be blocked due to a bad port' AO 2022-10-30 20:10:29 +00:00
PortBlocking.h LibWeb: Implement 'Should request be blocked due to a bad port' AO 2022-10-30 20:10:29 +00:00
RequestOrResponseBlocking.h LibWeb: Implement 'Should request be blocked due to a bad port' AO 2022-10-30 20:10:29 +00:00
Task.cpp LibWeb: Implement 'Queue a fetch task' AO 2022-10-30 20:10:29 +00:00
Task.h LibWeb: Implement 'Queue a fetch task' AO 2022-10-30 20:10:29 +00:00
URL.cpp LibWeb: Add two more scheme helpers to the Fetch infrastructure 2022-09-21 11:51:18 +02:00
URL.h LibWeb: Fix e-mail address mishap 2022-09-21 18:42:09 +02:00