[Webkit-unassigned] [Bug 176766] Web Inspector: Implement `queryObjects` Command Line API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 12 01:01:46 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=176766
--- Comment #3 from Saam Barati <sbarati at apple.com> ---
I think the tricky thing here is not exposing internal objects. Internal fields are safe since a user script has no way to access them. I’m more worried about the one+ level(s) of indirection in some builtins like so:
let internalObject = {userExposedField: ...}
let userExposedObject {@internalField: internalObject}
If you query for Object, you’ll see internalObject, and it will have fields which are not private. This is ok in the context of normal JS since the only way to get to that object is via @internalField. However, when iterating over the entire heap, we have no obvious way of determining this.
--
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/20170912/5e7ed44f/attachment.html>
More information about the webkit-unassigned
mailing list