diff options
author | Luke Wilde <lukew@serenityos.org> | 2023-02-28 18:12:44 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-03-07 11:51:12 +0000 |
commit | ccdb1bcc4eec5ab39002a083104c7f2944b79ca5 (patch) | |
tree | b8404468bca25e62e8648417059f1c7426f74530 /Userland/Libraries/LibWeb/Fetch/Infrastructure/FetchParams.h | |
parent | 9aca54091a53b5b287096311a6bbcfdd21f42d2f (diff) | |
download | serenity-ccdb1bcc4eec5ab39002a083104c7f2944b79ca5.zip |
LibWeb/Fetch: Implement Body's "fully read" function from the spec
Required by XHR's reliance on Fetch.
Diffstat (limited to 'Userland/Libraries/LibWeb/Fetch/Infrastructure/FetchParams.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Fetch/Infrastructure/FetchParams.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/Fetch/Infrastructure/FetchParams.h b/Userland/Libraries/LibWeb/Fetch/Infrastructure/FetchParams.h index 3ef35f1388..fc1e49aa77 100644 --- a/Userland/Libraries/LibWeb/Fetch/Infrastructure/FetchParams.h +++ b/Userland/Libraries/LibWeb/Fetch/Infrastructure/FetchParams.h @@ -14,6 +14,7 @@ #include <LibWeb/Fetch/Infrastructure/FetchController.h> #include <LibWeb/Fetch/Infrastructure/FetchTimingInfo.h> #include <LibWeb/Fetch/Infrastructure/HTTP/Requests.h> +#include <LibWeb/Fetch/Infrastructure/Task.h> namespace Web::Fetch::Infrastructure { @@ -22,9 +23,6 @@ class FetchParams : public JS::Cell { JS_CELL(FetchParams, JS::Cell); public: - // FIXME: 'or a parallel queue' - using TaskDestination = Variant<Empty, JS::NonnullGCPtr<JS::Object>>; - struct PreloadedResponseCandidatePendingTag { }; using PreloadedResponseCandidate = Variant<Empty, PreloadedResponseCandidatePendingTag, JS::NonnullGCPtr<Response>>; |