From 1de1d6423b7e9c6edf705371c7f214172a8121eb Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sun, 23 Oct 2022 22:20:25 +0100 Subject: LibWeb: Implement the fetch() method :^) With so much infrastructure implemented, we can finally add the last piece of this puzzle - the fetch() method itself! This contains a few hundred lines of generated code as handling the RequestInfo and RequestInfo parameter types manually is not feasible, but we can't use the IDL definition as the Window object is handwritten code at the moment. It's neatly tucked away in Bindings/ and will be removed eventually. --- Userland/Libraries/LibWeb/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Userland/Libraries/LibWeb/CMakeLists.txt') diff --git a/Userland/Libraries/LibWeb/CMakeLists.txt b/Userland/Libraries/LibWeb/CMakeLists.txt index f28589deae..7c93fa6514 100644 --- a/Userland/Libraries/LibWeb/CMakeLists.txt +++ b/Userland/Libraries/LibWeb/CMakeLists.txt @@ -3,6 +3,7 @@ include(libweb_generators) set(SOURCES Bindings/AudioConstructor.cpp Bindings/CSSNamespace.cpp + Bindings/FetchMethod.cpp Bindings/HostDefined.cpp Bindings/ImageConstructor.cpp Bindings/Intrinsics.cpp @@ -126,6 +127,7 @@ set(SOURCES Fetch/Fetching/Fetching.cpp Fetch/Fetching/PendingResponse.cpp Fetch/Fetching/RefCountedFlag.cpp + Fetch/FetchMethod.cpp Fetch/Headers.cpp Fetch/HeadersIterator.cpp Fetch/Infrastructure/ConnectionTimingInfo.cpp -- cgit v1.2.3