[Webkit-unassigned] [Bug 145605] Function.prototype.bind: Bound functions must use the [[Prototype]] of their target function instead of Function.prototype

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 9 17:01:51 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145605

--- Comment #18 from Geoffrey Garen <ggaren at apple.com> ---
Let's roll out this change until we can fix the regression.

It seems like we need a way to avoid allocating all those structures. A simple option is to use the default structure in cases where the target function has not yet allocated its .prototype property.

Come to think of it, we should also take care not to force the allocation of the .prototype property just to figure out if it exists. Most functions do not have a .prototype property because they are not called as constructors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150910/017ba029/attachment.html>


More information about the webkit-unassigned mailing list