[webkit-reviews] review requested: [Bug 4166] Function object does not support caller property : [Attachment 7359] proposed patch + test

bugzilla-request-daemon at opendarwin.org bugzilla-request-daemon at opendarwin.org
Tue Mar 28 06:57:14 PST 2006


Arthur Langereis <arthur_webkit at xfinitegames.com> has asked  for review:
Bug 4166: Function object does not support caller property
http://bugzilla.opendarwin.org/show_bug.cgi?id=4166

Attachment 7359: proposed patch + test
http://bugzilla.opendarwin.org/attachment.cgi?id=7359&action=edit

------- Additional Comments from Arthur Langereis
<arthur_webkit at xfinitegames.com>
This is a proposed patch to support the caller property in JSC. The caller
property is set to either the calling function or jsNull if the function was
called from the root context, mirroring Mozilla's behavior wrt this property.

The test checks for both cases. Also, another test of mine that builds a
callstack works with this patch:
http://www.xfinitegames.com/safari/callstack.html



More information about the webkit-reviews mailing list