Closed
Bug 667538
Opened 13 years ago
Closed 13 years ago
Function.caller, Function.arguments crash when accessed with no script running
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla8
People
(Reporter: Waldo, Assigned: Waldo)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
1.71 KB,
patch
|
evilpie
:
review+
|
Details | Diff | Splinter Review |
This probably doesn't matter for the browser (although I wouldn't say it's impossible to get the browser to access a named property of a specific object, not with certainty at least), but it could matter for others embedding us (and general code-correctness, of course).
Attachment #542215 -
Flags: review?(evilpies)
Comment 1•13 years ago
|
||
Comment on attachment 542215 [details] [diff] [review] Patch and test Review of attachment 542215 [details] [diff] [review]: ----------------------------------------------------------------- r+ on this change. New bug on the > function f () { console.log(f.caller) } f() issue.
Attachment #542215 -
Flags: review?(evilpies) → review+
Assignee | ||
Comment 2•13 years ago
|
||
I filed bug 667646 on the issue mentioned in comment 1 (which was originally discussed on IRC, in case you were wondering somewhat at the non sequitur :-) ).
Assignee | ||
Comment 3•13 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/14680bb642a5
Whiteboard: fixed-in-tracemonkey
Target Milestone: --- → mozilla7
Comment 4•13 years ago
|
||
cdleary-bot mozilla-central merge info: http://hg.mozilla.org/mozilla-central/rev/14680bb642a5
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: mozilla7 → mozilla8
You need to log in
before you can comment on or make changes to this bug.
Description
•