mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 17:16:04 +00:00
LibJS: Use ThrowCompletionOr in require_object_coercible()
This commit is contained in:
parent
33679a8445
commit
568296d0cc
Notes:
sideshowbarker
2024-07-18 03:54:35 +09:00
Author: https://github.com/linusg
Commit: 568296d0cc
Pull-request: https://github.com/SerenityOS/serenity/pull/10046
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/awesomekling
6 changed files with 22 additions and 57 deletions
|
@ -19,7 +19,7 @@ ObjectEnvironment* new_object_environment(Object&, bool is_with_environment, Env
|
|||
Environment& get_this_environment(VM&);
|
||||
Object* get_super_constructor(VM&);
|
||||
Reference make_super_property_reference(GlobalObject&, Value actual_this, StringOrSymbol const& property_key, bool strict);
|
||||
Value require_object_coercible(GlobalObject&, Value);
|
||||
ThrowCompletionOr<Value> require_object_coercible(GlobalObject&, Value);
|
||||
size_t length_of_array_like(GlobalObject&, Object const&);
|
||||
MarkedValueList create_list_from_array_like(GlobalObject&, Value, Function<void(Value)> = {});
|
||||
FunctionObject* species_constructor(GlobalObject&, Object const&, FunctionObject& default_constructor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue