Closed Bug 379568 Opened 17 years ago Closed 12 years ago

"Too much recursion" error with __proto__ and uneval

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: testcase)

js> o = {}; o.__proto__ = #1=[#1#];

js> uneval(o)
typein:2: InternalError: too much recursion
Likely related to bug 367686.
This behavior has changed:

js> o = {}; o.__proto__ = #1=[#1#];

js> o
Array.prototype.toString called on incompatible Object
js> uneval(o)
typein:4: TypeError: Array.prototype.toSource called on incompatible Object
So I don't see the problem here anymore :O
I see the same output reported in comment 2.
OS: Mac OS X → All
Hardware: x86 → All
Sharps have been removed. \o/
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.