mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 07:37:03 +00:00
LibJS: Convert delete_property_or_throw() to ThrowCompletionOr
This commit is contained in:
parent
fe86b04b42
commit
a29b7a3ec7
Notes:
sideshowbarker
2024-07-18 03:07:14 +09:00
Author: https://github.com/linusg
Commit: a29b7a3ec7
Pull-request: https://github.com/SerenityOS/serenity/pull/10327
Reviewed-by: https://github.com/IdanHo ✅
4 changed files with 19 additions and 48 deletions
|
@ -82,7 +82,7 @@ public:
|
|||
ThrowCompletionOr<bool> create_data_property_or_throw(PropertyName const&, Value);
|
||||
ThrowCompletionOr<bool> create_non_enumerable_data_property_or_throw(PropertyName const&, Value);
|
||||
ThrowCompletionOr<bool> define_property_or_throw(PropertyName const&, PropertyDescriptor const&);
|
||||
bool delete_property_or_throw(PropertyName const&);
|
||||
ThrowCompletionOr<bool> delete_property_or_throw(PropertyName const&);
|
||||
bool has_property(PropertyName const&) const;
|
||||
bool has_own_property(PropertyName const&) const;
|
||||
bool set_integrity_level(IntegrityLevel);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue