Closed
Bug 367686
Opened 19 years ago
Closed 15 years ago
uneval([#1=({}), {__proto__: #1#}]) results in "too much recursion" error
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
js> uneval([#1=({}), {__proto__: #1#}])
typein:1: InternalError: too much recursion
I found this bug with a new fuzzer that creates crazy object literals (with lots of sharps) and throws them at eval and uneval.
| Reporter | ||
Comment 1•19 years ago
|
||
Likely related to bug 379568.
Comment 2•18 years ago
|
||
I don't seem to get this error with the latest js shell:
gary-kwongs-mac-mini:lithium gkwong$ ./js-opt
js> uneval([#1=({}), {__proto__: #1#}])
typein:1: TypeError: Array.prototype.toSource called on incompatible Object
js>
=======
gary-kwongs-mac-mini:lithium gkwong$ ./js-debug
js> uneval([#1=({}), {__proto__: #1#}])
typein:1: TypeError: Array.prototype.toSource called on incompatible Object
js>
| Reporter | ||
Comment 3•18 years ago
|
||
Does it make sense for the testcase to trigger the exception "TypeError: Array.prototype.toSource called on incompatible Object"? I don't think it does...
Comment 4•15 years ago
|
||
With latest nightly:
js> uneval([#1=({}), {__proto__: #1#}])
"[{}, {}]"
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•