Closed Bug 743301 Opened 12 years ago Closed 12 years ago

Too-much-recursion crash with Date.prototype.toJSON

Categories

(Core :: JavaScript Engine, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

VERIFIED FIXED

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, regression, testcase)

"" + {toString: Date.prototype.toJSON};

Crashes with too-much-recursion through _ZL11date_toJSONP9JSContextjPN2JS5ValueE

The first bad revision is:
changeset:   0906d9490eaf
user:        Jeff Walden
date:        Mon Mar 28 20:01:53 2011 -0700
summary:     Bug 645468 - Remove js_TryMethod: its semantics aren't what most of its users want, and its utility is limited.  r=luke
There are lots of similar too-much-recursion crashes, Bug 715387, bug 717497, bug 721935 and bug 728722 spring to mind.

It would be nice if someone could look at these.
Fix and test landed in bug 779215. -> RESOLVED / VERIFIED FIXED
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.