mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-25 03:36:36 +00:00
LibJS: Convert internal_get_own_property() to ThrowCompletionOr
This commit is contained in:
parent
73bae7d779
commit
0e69a6e487
Notes:
sideshowbarker
2024-07-18 03:19:22 +09:00
Author: https://github.com/linusg
Commit: 0e69a6e487
Pull-request: https://github.com/SerenityOS/serenity/pull/10266
Reviewed-by: https://github.com/IdanHo ✅
19 changed files with 100 additions and 166 deletions
|
@ -39,7 +39,7 @@ public:
|
|||
virtual ThrowCompletionOr<bool> internal_set_prototype_of(Object* prototype) override;
|
||||
virtual ThrowCompletionOr<bool> internal_is_extensible() const override;
|
||||
virtual ThrowCompletionOr<bool> internal_prevent_extensions() override;
|
||||
virtual Optional<PropertyDescriptor> internal_get_own_property(PropertyName const&) const override;
|
||||
virtual ThrowCompletionOr<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;
|
||||
virtual Value internal_get(PropertyName const&, Value receiver) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue