diff --git a/Userland/Libraries/LibWeb/HTML/Scripting/Fetching.h b/Userland/Libraries/LibWeb/HTML/Scripting/Fetching.h
index f619a7da0e..0613ef2d9c 100644
--- a/Userland/Libraries/LibWeb/HTML/Scripting/Fetching.h
+++ b/Userland/Libraries/LibWeb/HTML/Scripting/Fetching.h
@@ -46,6 +46,21 @@ struct ScriptFetchOptions {
// https://html.spec.whatwg.org/multipage/webappapis.html#default-classic-script-fetch-options
ScriptFetchOptions default_classic_script_fetch_options();
+struct FetchContext : JS::GraphLoadingState::HostDefined {
+ FetchContext(JS::GCPtr parse_error, Fetch::Infrastructure::Request::Destination destination, JS::GCPtr perform_fetch, EnvironmentSettingsObject& fetch_client)
+ : parse_error(parse_error)
+ , destination(destination)
+ , perform_fetch(perform_fetch)
+ , fetch_client(fetch_client)
+ {
+ }
+
+ JS::GCPtr parse_error; // [[ParseError]]
+ Fetch::Infrastructure::Request::Destination destination; // [[Destination]]
+ JS::GCPtr perform_fetch; // [[PerformFetch]]
+ EnvironmentSettingsObject& fetch_client; // [[FetchClient]]
+};
+
DeprecatedString module_type_from_module_request(JS::ModuleRequest const&);
WebIDL::ExceptionOr resolve_module_specifier(Optional