WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
157469
Web Inspector: Cleanup issue tree elements in the Debugger sidebar
https://bugs.webkit.org/show_bug.cgi?id=157469
Summary
Web Inspector: Cleanup issue tree elements in the Debugger sidebar
Matt Baker
Reported
2016-05-08 18:10:13 PDT
Created
attachment 278381
[details]
[Image] Large issue icons * SUMMARY Cleanup issue tree elements in the Debugger sidebar. Recent TreeOutline and DebuggerSidebarPanel changes have caused two minor bugs: 1. Issue icons are too big (and differ from those used in the dashboard, see screenshot) 2. Issue tree elements aren't removed after clearing the log
Attachments
[Image] Large issue icons
(26.63 KB, image/png)
2016-05-08 18:10 PDT
,
Matt Baker
no flags
Details
[Patch] Proposed Fix
(4.20 KB, patch)
2016-05-08 18:17 PDT
,
Matt Baker
no flags
Details
Formatted Diff
Diff
[Image] Updated issue icons
(96.87 KB, image/png)
2016-05-08 18:19 PDT
,
Matt Baker
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-05-08 18:10:28 PDT
<
rdar://problem/26162999
>
Matt Baker
Comment 2
2016-05-08 18:17:38 PDT
Created
attachment 278382
[details]
[Patch] Proposed Fix
Matt Baker
Comment 3
2016-05-08 18:19:29 PDT
Created
attachment 278383
[details]
[Image] Updated issue icons
Timothy Hatcher
Comment 4
2016-05-09 07:35:51 PDT
Comment on
attachment 278382
[details]
[Patch] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=278382&action=review
> Source/WebInspectorUI/UserInterface/Views/DebuggerSidebarPanel.js:908 > - for (var issueTreeElement of issueTreeElements) > - issueTreeElement.parent.removeChild(issueTreeElement); > + issueTreeElements.forEach((treeElement) => treeElement.parent.removeChild(treeElement));
I'm not a fan of forEach for loops, even if it is one line.
WebKit Commit Bot
Comment 5
2016-05-09 07:58:37 PDT
Comment on
attachment 278382
[details]
[Patch] Proposed Fix Clearing flags on attachment: 278382 Committed
r200574
: <
http://trac.webkit.org/changeset/200574
>
WebKit Commit Bot
Comment 6
2016-05-09 07:58:42 PDT
All reviewed patches have been landed. Closing bug.
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