summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Fetch/BodyInit.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-09-25 17:03:42 +0100
committerLinus Groh <mail@linusgroh.de>2022-09-25 19:13:31 +0100
commitad04d7ac9b88ecea572cf517f6e01ccf1e95073d (patch)
treeed33bb942b1bdef7163972425057435a7d8eeaf9 /Userland/Libraries/LibWeb/Fetch/BodyInit.h
parentc0eda779287d4b1305046164cd0a8ee5a5799e0b (diff)
downloadserenity-ad04d7ac9b88ecea572cf517f6e01ccf1e95073d.zip
LibWeb: Move ExceptionOr from DOM/ to WebIDL/
This is a concept fully defined in the Web IDL spec and doesn't belong in the DOM directory/namespace - not even DOMException, despite the name :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/Fetch/BodyInit.h')
-rw-r--r--Userland/Libraries/LibWeb/Fetch/BodyInit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Fetch/BodyInit.h b/Userland/Libraries/LibWeb/Fetch/BodyInit.h
index f60d3ade2e..3955a44839 100644
--- a/Userland/Libraries/LibWeb/Fetch/BodyInit.h
+++ b/Userland/Libraries/LibWeb/Fetch/BodyInit.h
@@ -19,6 +19,6 @@ using XMLHttpRequestBodyInit = Variant<JS::Handle<FileAPI::Blob>, JS::Handle<JS:
// https://fetch.spec.whatwg.org/#bodyinit
using BodyInit = Variant<JS::Handle<Streams::ReadableStream>, JS::Handle<FileAPI::Blob>, JS::Handle<JS::Object>, JS::Handle<URL::URLSearchParams>, String>;
-DOM::ExceptionOr<Infrastructure::BodyWithType> extract_body(JS::Realm&, BodyInit const&, bool keepalive = false);
+WebIDL::ExceptionOr<Infrastructure::BodyWithType> extract_body(JS::Realm&, BodyInit const&, bool keepalive = false);
}