[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
Thu Sep 10 01:15:34 PDT 2015


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

--- Comment #21 from Matthew Hill <matthew.jh at outlook.com> ---
@Geoffrey:

Isn't the structure system designed to create one empty object structure per prototype? If so, how would the number of structures being allocated cause this regression?

And I don't see the relevance of the `prototype` property to a `bind` call? If my above assumption re. structures is incorrect, would it not make more sense to check whether [[Prototype]] is not Function.prototype, and only then create a new structure.

-- 
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/6b7fad8d/attachment.html>


More information about the webkit-unassigned mailing list