mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +00:00
LibJS: Follow the spec more closely when determining the this value
Co-authored-by: davidot <david.tuin@gmail.com>
This commit is contained in:
parent
a394aa5830
commit
c6e9c6d6ab
3 changed files with 36 additions and 11 deletions
|
@ -260,6 +260,8 @@ public:
|
|||
private:
|
||||
VM();
|
||||
|
||||
void ordinary_call_bind_this(FunctionObject&, ExecutionContext&, Value this_argument);
|
||||
|
||||
[[nodiscard]] Value call_internal(FunctionObject&, Value this_value, Optional<MarkedValueList> arguments);
|
||||
void prepare_for_ordinary_call(FunctionObject&, ExecutionContext& callee_context, Value new_target);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue