summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Fetch/Infrastructure/FetchParams.h
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2023-02-28 18:12:44 +0000
committerLinus Groh <mail@linusgroh.de>2023-03-07 11:51:12 +0000
commitccdb1bcc4eec5ab39002a083104c7f2944b79ca5 (patch)
treeb8404468bca25e62e8648417059f1c7426f74530 /Userland/Libraries/LibWeb/Fetch/Infrastructure/FetchParams.h
parent9aca54091a53b5b287096311a6bbcfdd21f42d2f (diff)
downloadserenity-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.h4
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>>;