diff options
author | Linus Groh <mail@linusgroh.de> | 2021-09-29 00:13:41 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-09-29 23:49:53 +0100 |
commit | 73bae7d779ebbf14eec603d8619f4d5247a6e69a (patch) | |
tree | 85ef6f46da8ff1dd50d1295921fa0b211ac0970a /Userland/Libraries/LibJS/Runtime/ProxyObject.h | |
parent | 9b4362f10a5a87470f43c1086717daa9ce04bb08 (diff) | |
download | serenity-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.h | 2 |
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; |