Chromium Code Reviews
DescriptionPrevent real stack overflow when handling JavaScript stack overflow
In stack overflow handling, we invoke Error.stackTraceLimit to limit
the size of produced stack trace. However, if there is a getter
installed on the stackTraceLimit property, we may overflow again
and end up in an infinite loop. This change disallows getters and
setters on Error.stackTraceLimit.
BUG=
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|
||||||||||||||||||||||||||||