[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
Tue Sep 8 15:21:42 PDT 2015


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

--- Comment #7 from Matthew Hill <matthew.jh at outlook.com> ---
Thank you -- that did the trick.

Please see the attached patch. One thing I'm unusure of is how I should implement #3 of the `BoundFunctionCreate` spec, wrt `ReturnIfAbrupt`. How is this handled in JSC?

````
...
#2 Let proto be targetFunction.[[GetPrototypeOf]]().
#3 ReturnIfAbrupt(proto).
...
````

-- 
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/20150908/fce0db10/attachment.html>


More information about the webkit-unassigned mailing list