1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:08:12 +00:00

LibJS: Convert set_integrity_level() to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-03 02:20:19 +01:00
parent 3be26f56db
commit ed5a9aa038
4 changed files with 10 additions and 14 deletions

View file

@ -85,7 +85,7 @@ public:
ThrowCompletionOr<bool> delete_property_or_throw(PropertyName const&);
ThrowCompletionOr<bool> has_property(PropertyName const&) const;
ThrowCompletionOr<bool> has_own_property(PropertyName const&) const;
bool set_integrity_level(IntegrityLevel);
ThrowCompletionOr<bool> set_integrity_level(IntegrityLevel);
bool test_integrity_level(IntegrityLevel) const;
MarkedValueList enumerable_own_property_names(PropertyKind kind) const;
ThrowCompletionOr<Object*> copy_data_properties(Value source, HashTable<PropertyName, PropertyNameTraits> const& seen_names, GlobalObject& global_object);