[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:37:33 PDT 2015


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

--- Comment #8 from Geoffrey Garen <ggaren at apple.com> ---
> 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).
> ...

I think this just means that you should check for an exception when accessing the prototype. That isn't relevant until we implement proxies, since only proxies can throw when accessing their prototypes.

-- 
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/384e1b0e/attachment.html>


More information about the webkit-unassigned mailing list