LibJS: Implement temporal AO SnapshotOwnProperties

This commit is contained in:
Shannon Booth 2024-01-04 20:00:25 +13:00 committed by Andrew Kaster
commit d2710ad73f
Notes: sideshowbarker 2024-07-17 09:48:50 +09:00
2 changed files with 18 additions and 0 deletions

View file

@ -119,6 +119,7 @@ public:
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& excluded_keys, HashTable<JS::Value> const& excluded_values = {});
ThrowCompletionOr<NonnullGCPtr<Object>> snapshot_own_properties(VM&, GCPtr<Object> prototype, HashTable<PropertyKey> const& excluded_keys = {}, HashTable<Value> const& excluded_values = {});
PrivateElement* private_element_find(PrivateName const& name);
ThrowCompletionOr<void> private_field_add(PrivateName const& name, Value value);