mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
LibJS: Remove unused FunctionEnvironment this value getter/setter
The this value is only supposed to be set via the BindThisValue and accessed via the GetThisBinding AOs, so exposing a direct getter/setter would only lead to potentially non-spec-compliant behavior down the line.
This commit is contained in:
parent
451149df0b
commit
3626a7fd6d
Notes:
sideshowbarker
2024-07-17 22:01:33 +09:00
1 changed files with 0 additions and 3 deletions
|
@ -25,9 +25,6 @@ public:
|
|||
explicit FunctionEnvironment(Environment* parent_scope);
|
||||
virtual ~FunctionEnvironment() override;
|
||||
|
||||
Value this_value() const { return m_this_value; }
|
||||
void set_this_value(Value value) { m_this_value = value; }
|
||||
|
||||
ThisBindingStatus this_binding_status() const { return m_this_binding_status; }
|
||||
void set_this_binding_status(ThisBindingStatus status) { m_this_binding_status = status; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue