[Webkit-unassigned] [Bug 7831] .apply/call does not set this for eval
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Fri Mar 17 10:48:46 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=7831
------- Comment #2 from tolmasky at gmail.com 2006-03-17 10:48 PDT -------
Created an attachment (id=7133)
--> (http://bugzilla.opendarwin.org/attachment.cgi?id=7133&action=view)
Makes eval.apply/call pay attention to the this argument.
What this does is make callAsFunction for eval check whether there is in fact a
thisObj, which only takes place I believe if its called through apply or call.
In this case, if its not undefined or null, it uses it. ContextImp now also
checks for a this argument in eval if which again should only take place if we
called it initially through apply or call.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list