[Webkit-unassigned] [Bug 64250] Global strict mode function leaking global object as "this".
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 12 22:44:25 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=64250
Gavin Barraclough <barraclough at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |barraclough at apple.com
--- Comment #1 from Gavin Barraclough <barraclough at apple.com> 2011-07-12 22:44:26 PST ---
Trivially, the bug here is that JSGlobalObject doesn't set NeedsThisConversion. But just setting that may be a performance regression. (Will make us take unnecessary calls out in non-strict code).
An alternative would be a NeedsStrictThisConversion flag, but it would probably be better to fix jsc so we no longer rely on this conversion to fix up scope objects once we're inside the call, and instead to pass the correct this object into functions in the first place.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list