1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:07:35 +00:00

LibWeb: Revert support for DOM::Document in XHR::send()

This is a manual revert of commit: 7831e62

Let's revert this until we got nested union support in our IDL
generator/parser.
This commit is contained in:
Kenneth Myhra 2022-10-20 10:47:27 +02:00 committed by Andreas Kling
parent 645a64ef0f
commit ebd93c8d57
4 changed files with 10 additions and 27 deletions

View file

@ -130,9 +130,6 @@ CppType idl_type_name_to_cpp_type(Type const& type, Interface const& interface)
if (type.name() == "BufferSource")
return { .name = "JS::Handle<JS::Object>", .sequence_storage_type = SequenceStorageType::MarkedVector };
if (type.name() == "XMLHttpRequestBodyInit")
return { .name = "Fetch::XMLHttpRequestBodyInit", .sequence_storage_type = SequenceStorageType::MarkedVector };
if (type.name() == "sequence") {
auto& parameterized_type = verify_cast<ParameterizedType>(type);
auto& sequence_type = parameterized_type.parameters().first();