summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-09-29 18:08:06 +0100
committerLinus Groh <mail@linusgroh.de>2021-09-29 23:49:53 +0100
commitd9895ec12dbf51066fdc873920803121d7499844 (patch)
tree4cec9df7c3725ff458990e2f9f5d04b9432af469 /Meta
parent5da210125e1ae62278ddf708ad85b037f1891a81 (diff)
downloadserenity-d9895ec12dbf51066fdc873920803121d7499844.zip
LibJS: Convert internal_has_property() to ThrowCompletionOr
Diffstat (limited to 'Meta')
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp
index 921bcd378b..5243a796e7 100644
--- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp
+++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp
@@ -1403,7 +1403,7 @@ public:
if (interface.extended_attributes.contains("CustomHasProperty")) {
generator.append(R"~~~(
- virtual bool internal_has_property(JS::PropertyName const&) const override;
+ virtual JS::ThrowCompletionOr<bool> internal_has_property(JS::PropertyName const&) const override;
)~~~");
}