Bug 143206

Summary: Web Inspector: hovering over a node in a preview for a collection should highlight it
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: REOPENED ---    
Severity: Normal CC: graouts, hi, inspector-bugzilla-changes, jonowells, webkit-bug-importer
Priority: P2 Keywords: EasyFix, GoodFirstBug, InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=194862
https://bugs.webkit.org/show_bug.cgi?id=209159
Attachments:
Description Flags
Animated GIF of the problem none

Description Nikita Vasilyev 2015-03-29 20:16:24 PDT
Created attachment 249707 [details]
Animated GIF of the problem

I think it broke around 2-4 weeks ago.
Comment 1 Radar WebKit Bug Importer 2015-03-29 20:16:52 PDT
<rdar://problem/20341722>
Comment 2 Joseph Pecoraro 2015-03-30 14:53:17 PDT
This is just about making object previews better for nodes. If you expand the preview and hover the object, it does highlight.
Comment 3 Nikita Vasilyev 2016-09-10 12:59:22 PDT
Still relevant.
Comment 4 Devin Rousso 2020-11-18 15:40:45 PST
I think this has been partially resolved by bug 194862 (and bug 209159).
Comment 5 Nikita Vasilyev 2020-11-18 16:06:31 PST
Works well for me now. Feel free to reopen and retitle if you have a case when it doesn't.
Comment 6 Devin Rousso 2020-11-18 16:13:11 PST
IIRC this doesn't work yet for `Map`/`Set`/`WeakMap`/`WeakSet`.
```
    new Set([document.body])
    new WeakSet([document.body])
    new Map([document.body, document.body])
    new WeakMap([document.body, document.body])
```
I thought there was a bug/FIXME for this, but maybe not.
Comment 7 Nikita Vasilyev 2020-11-18 16:19:04 PST
I see. It still doesn't work for the previews of:

```
    new Set([document.body])
    new WeakSet([document.body])
    new Map([[document.body, document.body]])
    new WeakMap([[document.body, document.body]])
```