Skip to content

Commit 95c268d

Browse files
authored
Fix use of SetterThatIgnoresPrototypeProperties
The first argument is the object to be manipulated, and the second is an object that rejects such manipulation (used to avoid overwriting setters on prototype objects that use SetterThatIgnoresPrototypeProperties, but irrelevant here).
1 parent 709fc46 commit 95c268d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.emu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ markEffects: true
3434
1. NOTE: This can be used to hide implementation details on the stack trace that aren't useful to user.
3535
1. Else,
3636
1. Let _string_ be an implementation-defined string that represents the current stack trace.
37-
1. Perform ? SetterThatIgnoresPrototypeProperties(*this* value, _error_, *"stack"*, _string_).
37+
1. Perform ? SetterThatIgnoresPrototypeProperties(_error_, OrdinaryObjectCreate(*null*), *"stack"*, _string_).
3838
1. Return *undefined*.
3939
</emu-alg>
4040
</emu-clause>

0 commit comments

Comments
 (0)