mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
LibJS: Object.getOwnPropertyDescriptor works properly with accessors
This commit is contained in:
parent
12fe546be9
commit
4e331a1fcf
Notes:
sideshowbarker
2024-07-19 05:58:37 +09:00
Author: https://github.com/mattco98
Commit: 4e331a1fcf
Pull-request: https://github.com/SerenityOS/serenity/pull/2451
3 changed files with 93 additions and 37 deletions
|
@ -116,6 +116,9 @@ private:
|
|||
bool put_own_property(Object& this_object, const FlyString& property_name, Value, u8 attributes, PutOwnPropertyMode = PutOwnPropertyMode::Put, bool throw_exceptions = true);
|
||||
bool put_own_property_by_index(Object& this_object, u32 property_index, Value, u8 attributes, PutOwnPropertyMode = PutOwnPropertyMode::Put, bool throw_exceptions = true);
|
||||
|
||||
Value call_native_property_getter(Object* this_object, Value property) const;
|
||||
void call_native_property_setter(Object* this_object, Value property, Value) const;
|
||||
|
||||
void set_shape(Shape&);
|
||||
void ensure_shape_is_unique();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue