Skip to content

Commit c404297

Browse files
kimjg1119ljharb
authored andcommitted
Editorial: ProxyTarget is always a function object in GetFunctionRealm (#3496)
1 parent b2a5b67 commit c404297

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

esmeta-ignore.json

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"CompareTypedArrayElements",
66
"DoWait",
77
"FunctionBody[0,0].EvaluateFunctionBody",
8-
"GetFunctionRealm",
98
"GetViewByteLength",
109
"INTRINSICS.Atomics.notify",
1110
"MakeMatchIndicesIndexPairArray",

spec.html

+1
Original file line numberDiff line numberDiff line change
@@ -6646,6 +6646,7 @@ <h1>
66466646
1. If _obj_ is a Proxy exotic object, then
66476647
1. Perform ? ValidateNonRevokedProxy(_obj_).
66486648
1. Let _proxyTarget_ be _obj_.[[ProxyTarget]].
6649+
1. Assert: _proxyTarget_ is a function object.
66496650
1. Return ? GetFunctionRealm(_proxyTarget_).
66506651
1. [id="step-getfunctionrealm-default-return"] Return the current Realm Record.
66516652
</emu-alg>

0 commit comments

Comments
 (0)