[Webkit-unassigned] [Bug 143650] Web Inspector: ObjectTree Property Path doesn't work for objects logged via console.log

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 13 07:02:08 PDT 2015


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

--- Comment #4 from Brian Burg <burg at cs.washington.edu> ---
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #0)
> > > it returns bogus paths, using `this` as the root expression.
> > 
> > This is currently expected behavior. "this" is the default when we don't
> > know the value.
> > 
> > - Is there a specific case you have in mind that you think we should improve?
> > - Do you think there would be a better default name then "this"?
> 
> Well, since the logged object can be previewed, why can't we give it a $n
> binding? It was just confusing to me why some expandable (remote?) objects
> were given numbers and others aren't. If its not possible to bind, maybe
> call it /(value)/ instead of `this`.

And if this would create too many $n bindings, then maybe assign a new one when the object is expanded or right-clicked (or other user interaction to hint a shortcut might be useful).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150413/cf02a21c/attachment-0001.html>


More information about the webkit-unassigned mailing list