summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-09-04 14:04:42 +0200
committerAndreas Kling <kling@serenityos.org>2022-09-06 00:27:09 +0200
commitfe9c5395d4de6f0127e46ef20f0f86ff22fbde91 (patch)
treee7dcfec705feecf812dfbec22b2d6cb7b3dffb5a /Meta
parent0dc2c27fa32dcf0c9dae5680cbb68cef627f64c6 (diff)
downloadserenity-fe9c5395d4de6f0127e46ef20f0f86ff22fbde91.zip
LibWeb: Make URL, URLSearchParams & URLSearchParamsIterator GC-allocated
Diffstat (limited to 'Meta')
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp
index 1c5486f940..f3afa78ba7 100644
--- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp
+++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp
@@ -163,6 +163,10 @@ static bool impl_is_wrapper(Type const& type)
return true;
if (type.name == "Blob"sv)
return true;
+ if (type.name == "URL"sv)
+ return true;
+ if (type.name == "URLSearchParams"sv)
+ return true;
return false;
}