[Webkit-unassigned] [Bug 187542] Web Inspector: console.log fires getters for deep properties

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 10 19:15:30 PDT 2018


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

Saam Barati <sbarati at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #346936|review?, commit-queue?      |review+, commit-queue+
              Flags|                            |

--- Comment #7 from Saam Barati <sbarati at apple.com> ---
Comment on attachment 346936
  --> https://bugs.webkit.org/attachment.cgi?id=346936
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=346936&action=review

r=me

>>> Source/JavaScriptCore/inspector/InjectedScriptSource.js:1295
>>> +            let descriptor = Object.getOwnPropertyDescriptor(object, propertyName);
>> 
>> Might be worth verifying that we're ok w/ this doing effects? Like I believe this calls a trap in a proxy.
> 
> Is there a way to tell if its a getter without an observable effect (without being a built-in)?

Nope, not in a general way.

-- 
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/20180811/693b8e48/attachment.html>


More information about the webkit-unassigned mailing list