[Webkit-unassigned] [Bug 198395] New: Web Inspector: remove RemoteObject.prototype.getPropertyDescriptorsAsObject

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 30 15:55:40 PDT 2019


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

            Bug ID: 198395
           Summary: Web Inspector: remove
                    RemoteObject.prototype.getPropertyDescriptorsAsObject
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

When calling `remoteObject.getPropertyDescriptorsAsObject`, if one of the returned property descriptors is named `__proto__`, it will replace the `__proto__` of the plain object created for that function with the `WI.PropertyDescriptor`, altering the prototype chain.  This is not a good thing.

Since this function is only used in a few places, we should remove it entirely.

-- 
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/20190530/a80e3b72/attachment.html>


More information about the webkit-unassigned mailing list