mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 09:06:08 +00:00
LibJS: Implement temporal AO SnapshotOwnProperties
This commit is contained in:
parent
107fa1fdb8
commit
d2710ad73f
Notes:
sideshowbarker
2024-07-17 09:48:50 +09:00
Author: https://github.com/shannonbooth
Commit: d2710ad73f
Pull-request: https://github.com/SerenityOS/serenity/pull/22593
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 18 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue