mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
LibJS: Correct receiver value in GetValue's [[Get]] call
This commit is contained in:
parent
5e2d059508
commit
b126a8b697
Notes:
sideshowbarker
2024-07-17 18:55:30 +09:00
Author: https://github.com/linusg
Commit: b126a8b697
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ ThrowCompletionOr<Value> Reference::get_value(GlobalObject& global_object) const
|
|||
base_obj = TRY(m_base_value.to_object(global_object));
|
||||
|
||||
// c. Return ? baseObj.[[Get]](V.[[ReferencedName]], GetThisValue(V)).
|
||||
return base_obj->internal_get(m_name, m_base_value);
|
||||
return base_obj->internal_get(m_name, get_this_value());
|
||||
}
|
||||
|
||||
// 5. Else,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue