mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
LibJS: Convert define_property_or_throw() to ThrowCompletionOr
This commit is contained in:
parent
ebf57df431
commit
fe86b04b42
12 changed files with 31 additions and 58 deletions
|
@ -81,7 +81,7 @@ public:
|
|||
ThrowCompletionOr<bool> create_method_property(PropertyName const&, Value);
|
||||
ThrowCompletionOr<bool> create_data_property_or_throw(PropertyName const&, Value);
|
||||
ThrowCompletionOr<bool> create_non_enumerable_data_property_or_throw(PropertyName const&, Value);
|
||||
bool define_property_or_throw(PropertyName const&, PropertyDescriptor const&);
|
||||
ThrowCompletionOr<bool> define_property_or_throw(PropertyName const&, PropertyDescriptor const&);
|
||||
bool delete_property_or_throw(PropertyName const&);
|
||||
bool has_property(PropertyName const&) const;
|
||||
bool has_own_property(PropertyName const&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue