WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
196953
Web Inspector: DOM Nodes should not show $0 when selected in Console area
https://bugs.webkit.org/show_bug.cgi?id=196953
Summary
Web Inspector: DOM Nodes should not show $0 when selected in Console area
Joseph Pecoraro
Reported
2019-04-15 20:02:30 PDT
DOM Nodes should not show $0 when selected in Console area
Attachments
[IMAGE] Before
(352.69 KB, image/png)
2019-04-15 20:13 PDT
,
Joseph Pecoraro
no flags
Details
[IMAGE] After
(352.04 KB, image/png)
2019-04-15 20:13 PDT
,
Joseph Pecoraro
no flags
Details
[PATCH] Proposed Fix
(4.92 KB, patch)
2019-04-15 20:16 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Joseph Pecoraro
Comment 1
2019-04-15 20:03:25 PDT
Steps to Reproduce: 1. Log an element to the console 2. Click the element => the "= $0" overlaps the "= $1" => it isn't really the $0
Joseph Pecoraro
Comment 2
2019-04-15 20:13:39 PDT
Created
attachment 367489
[details]
[IMAGE] Before
Joseph Pecoraro
Comment 3
2019-04-15 20:13:50 PDT
Created
attachment 367490
[details]
[IMAGE] After
Joseph Pecoraro
Comment 4
2019-04-15 20:16:15 PDT
Created
attachment 367491
[details]
[PATCH] Proposed Fix
Devin Rousso
Comment 5
2019-04-15 23:30:07 PDT
Comment on
attachment 367491
[details]
[PATCH] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=367491&action=review
rs=me
> Source/WebInspectorUI/ChangeLog:13 > + Make parameters explicit. Drop "selectable" which was always true.
It may be worth mentioning (or this comment can suffice) that there were other creators of `WI.DOMTreeOutline`, but due to the fact that `WI.TreeOutline`'s constructor has a default `selectable = true`, passing `undefined` as all three arguments in those cases would fall back to the default `true`, so yes, it was always `true`.
> Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.js:66 > + this._domTreeOutline = new WI.DOMTreeOutline({omitRootDOMNode: true, excludeRevealElementContextMenu: true, showLastSelected: true});
Nice!
WebKit Commit Bot
Comment 6
2019-04-15 23:57:21 PDT
Comment on
attachment 367491
[details]
[PATCH] Proposed Fix Clearing flags on attachment: 367491 Committed
r244327
: <
https://trac.webkit.org/changeset/244327
>
WebKit Commit Bot
Comment 7
2019-04-15 23:57:23 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8
2019-04-15 23:58:22 PDT
<
rdar://problem/49931793
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug