[Webkit-unassigned] [Bug 176810] for..in on a Proxy loops over non enumerable properties

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 2 09:48:23 PDT 2018


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

--- Comment #5 from Xan Lopez <xan.lopez at gmail.com> ---
(In reply to Saam Barati from comment #4)
> Comment on attachment 351389 [details]
> Fix for bug
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=351389&action=review
> 
> > Source/JavaScriptCore/runtime/ProxyObject.cpp:952
> > +            bool isPropertyDefined = target->getOwnPropertyDescriptor(exec, ident.impl(), descriptor);
> 
> Is this actually what the spec says to do? This is observable behavior

So the issue is this being called more than once basically? Because it's already called a bit further below in that method. If that's the thing then we need a way to get this information without it being user observable (or a completely different approach), yeah.

-- 
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/20181002/1b80ea71/attachment.html>


More information about the webkit-unassigned mailing list