mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibJS: Implement excluded values in CopyDataProperties
This is a change to this AO as part of the Temporal proposal.
This commit is contained in:
parent
a504d76b14
commit
107fa1fdb8
Notes:
sideshowbarker
2024-07-17 04:10:16 +09:00
Author: https://github.com/shannonbooth
Commit: 107fa1fdb8
Pull-request: https://github.com/SerenityOS/serenity/pull/22593
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 13 additions and 6 deletions
|
@ -118,7 +118,7 @@ public:
|
|||
ThrowCompletionOr<bool> set_integrity_level(IntegrityLevel);
|
||||
ThrowCompletionOr<bool> test_integrity_level(IntegrityLevel) const;
|
||||
ThrowCompletionOr<MarkedVector<Value>> enumerable_own_property_names(PropertyKind kind) const;
|
||||
ThrowCompletionOr<void> copy_data_properties(VM&, Value source, HashTable<PropertyKey> const& seen_names);
|
||||
ThrowCompletionOr<void> copy_data_properties(VM&, Value source, HashTable<PropertyKey> const& excluded_keys, HashTable<JS::Value> const& excluded_values = {});
|
||||
|
||||
PrivateElement* private_element_find(PrivateName const& name);
|
||||
ThrowCompletionOr<void> private_field_add(PrivateName const& name, Value value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue