From 4e456c2ad26d0da9b3021266706951e975093309 Mon Sep 17 00:00:00 2001 From: Aapo Alasuutari Date: Sat, 11 Jan 2025 17:17:33 +0200 Subject: [PATCH] fix: Module Environment Records GetBindingValue cannot call user code --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index 349e2c3083..3e5e643027 100644 --- a/spec.html +++ b/spec.html @@ -11405,7 +11405,7 @@

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 ? _targetEnv_.GetBindingValue(_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_.