summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/ProxyObject.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-09-29 00:13:41 +0100
committerLinus Groh <mail@linusgroh.de>2021-09-29 23:49:53 +0100
commit73bae7d779ebbf14eec603d8619f4d5247a6e69a (patch)
tree85ef6f46da8ff1dd50d1295921fa0b211ac0970a /Userland/Libraries/LibJS/Runtime/ProxyObject.h
parent9b4362f10a5a87470f43c1086717daa9ce04bb08 (diff)
downloadserenity-73bae7d779ebbf14eec603d8619f4d5247a6e69a.zip
LibJS: Convert internal_prevent_extensions() to ThrowCompletionOr
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/ProxyObject.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/ProxyObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ProxyObject.h b/Userland/Libraries/LibJS/Runtime/ProxyObject.h
index faec553e70..aab0000d04 100644
--- a/Userland/Libraries/LibJS/Runtime/ProxyObject.h
+++ b/Userland/Libraries/LibJS/Runtime/ProxyObject.h
@@ -38,7 +38,7 @@ public:
virtual ThrowCompletionOr<Object*> internal_get_prototype_of() const override;
virtual ThrowCompletionOr<bool> internal_set_prototype_of(Object* prototype) override;
virtual ThrowCompletionOr<bool> internal_is_extensible() const override;
- virtual bool internal_prevent_extensions() override;
+ virtual ThrowCompletionOr<bool> internal_prevent_extensions() override;
virtual Optional<PropertyDescriptor> internal_get_own_property(PropertyName const&) const override;
virtual bool internal_define_own_property(PropertyName const&, PropertyDescriptor const&) override;
virtual bool internal_has_property(PropertyName const&) const override;