Skip to content

Commit

Permalink
fix: Module Environment Records GetBindingValue cannot call user code
Browse files Browse the repository at this point in the history
  • Loading branch information
aapoalas committed Jan 11, 2025
1 parent f55b180 commit 4e456c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -11405,7 +11405,7 @@ <h1>
1. Let _M_ and _N2_ be the indirection values provided when this binding for _N_ was created.
1. Let _targetEnv_ be _M_.[[Environment]].
1. If _targetEnv_ is ~empty~, throw a *ReferenceError* exception.
1. Return ? <emu-meta effects="user-code">_targetEnv_.GetBindingValue</emu-meta>(_N2_, *true*).
1. Return ? _targetEnv_.GetBindingValue(_N2_, *true*).
1. If the binding for _N_ in _envRec_ is an uninitialized binding, throw a *ReferenceError* exception.
1. Return the value currently bound to _N_ in _envRec_.
</emu-alg>
Expand Down

0 comments on commit 4e456c2

Please sign in to comment.