Skip to content

Commit aab3b05

Browse files
Fixup realm access
Co-authored-by: Michael Ficarra <[email protected]>
1 parent afc3b83 commit aab3b05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec.emu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ markEffects: true
6060
1. NOTE: This can be used to hide implementation details on the stack trace that aren't useful to user.
6161
1. Else,
6262
1. Let _string_ be an implementation-defined string that represents the current stack trace.
63-
1. Let _strategy_ be the value of the [[ErrorCaptureStackTraceStrategy]] field of the current Realm Record.
63+
1. Let _realm_ be the current Realm Record.
64+
1. Let _strategy_ be _realm_.[[ErrorCaptureStackTraceStrategy]].
6465
1. If _strategy_ is ~data-property~, then
6566
1. Perform ? DefinePropertyOrThrow(_O_, *"stack"*, PropertyDescriptor { [[Value]]: _string_, [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: true }).
6667
1. Else,

0 commit comments

Comments
 (0)