[Webkit-unassigned] [Bug 171915] [JSC] Proxy's GetPrototypeOf does not invoked during access to __proto__ property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 10 13:25:59 PDT 2017


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

--- Comment #3 from GSkachkov <gskachkov at gmail.com> ---
(In reply to Saam Barati from comment #1)
> Maybe we don't properly forward the receiver?
> I think this code should definitely go down the get() path in Proxy, but
> maybe the issue is we don't call get() on target in the correct way.
In casa if we use only getPrototypeOf handler, we just call target->get() for __proto__ property in performProxyGet, so we forget that we are executing in proxy context, that why we do not call proxy getPrototypeOf handler, but according to spec we should invoke 
target.[[Get]](P, Receiver) - where Receiver is current Proxy. So I think we need create new method for JSObject that support Receiver as the parameter

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170510/11feb9ef/attachment.html>


More information about the webkit-unassigned mailing list