summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2022-02-19 21:59:07 +0000
committerAndreas Kling <kling@serenityos.org>2022-02-20 02:03:24 +0100
commit0e6c7eea0f719076f92f7d18342a0f3e811ebfa1 (patch)
tree9f3225dfd080ea677c039e378478244703789c16
parentced7e8ab28b55a32915dd57a761b36716d13634b (diff)
downloadserenity-0e6c7eea0f719076f92f7d18342a0f3e811ebfa1.zip
LibWeb: Add AbortSignal as a wrappable type
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp
index 46d01b1021..a0d1c6b7e8 100644
--- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp
+++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLGenerators.cpp
@@ -45,6 +45,8 @@ static bool is_wrappable_type(Type const& type)
return true;
if (type.name == "TextMetrics")
return true;
+ if (type.name == "AbortSignal")
+ return true;
return false;
}