mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 19:16:02 +00:00
LibJS: Use ThrowCompletionOr in get_function_realm()
This commit is contained in:
parent
3d43eb0774
commit
bc1b8f9cc8
Notes:
sideshowbarker
2024-07-18 03:54:23 +09:00
Author: https://github.com/linusg
Commit: bc1b8f9cc8
Pull-request: https://github.com/SerenityOS/serenity/pull/10046
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/awesomekling
3 changed files with 6 additions and 12 deletions
|
@ -23,7 +23,7 @@ ThrowCompletionOr<Value> require_object_coercible(GlobalObject&, Value);
|
|||
size_t length_of_array_like(GlobalObject&, Object const&);
|
||||
ThrowCompletionOr<MarkedValueList> create_list_from_array_like(GlobalObject&, Value, Function<ThrowCompletionOr<void>(Value)> = {});
|
||||
ThrowCompletionOr<FunctionObject*> species_constructor(GlobalObject&, Object const&, FunctionObject& default_constructor);
|
||||
Realm* get_function_realm(GlobalObject&, FunctionObject const&);
|
||||
ThrowCompletionOr<Realm*> get_function_realm(GlobalObject&, FunctionObject const&);
|
||||
bool is_compatible_property_descriptor(bool extensible, PropertyDescriptor const&, Optional<PropertyDescriptor> const& current);
|
||||
bool validate_and_apply_property_descriptor(Object*, PropertyName const&, bool extensible, PropertyDescriptor const&, Optional<PropertyDescriptor> const& current);
|
||||
Object* get_prototype_from_constructor(GlobalObject&, FunctionObject const& constructor, Object* (GlobalObject::*intrinsic_default_prototype)());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue