WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 155731
Web Inspector: New icon for Heap Allocations timeline
https://bugs.webkit.org/show_bug.cgi?id=155731
Summary
Web Inspector: New icon for Heap Allocations timeline
Matt Baker
Reported
2016-03-21 13:31:37 PDT
Created
attachment 274618
[details]
[Image] Timelines tree icons * SUMMARY New icon for Heap Allocations timeline. Same color scheme as Memory timeline, different graphic.
Attachments
[Image] Timelines tree icons
(52.28 KB, image/png)
2016-03-21 13:31 PDT
,
Matt Baker
no flags
Details
[Patch] Proposed Fix
(3.64 KB, patch)
2016-03-21 13:35 PDT
,
Matt Baker
no flags
Details
Formatted Diff
Diff
[Patch] Proposed Fix
(4.48 KB, patch)
2016-03-21 16:57 PDT
,
Matt Baker
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-03-21 13:33:41 PDT
<
rdar://problem/25275494
>
Matt Baker
Comment 2
2016-03-21 13:35:22 PDT
Created
attachment 274620
[details]
[Patch] Proposed Fix
Joseph Pecoraro
Comment 3
2016-03-21 13:47:17 PDT
Comment on
attachment 274620
[details]
[Patch] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=274620&action=review
r=me!
> Source/WebInspectorUI/UserInterface/Images/HeapAllocationsInstrument.svg:4 > + <circle id="Oval" fill="rgb(224, 166, 133)" cx="8" cy="8" r="7.5" stroke="rgb(179, 114, 76)"/>
I think the `id` here can be dropped.
> Source/WebInspectorUI/UserInterface/Views/TimelineIcons.css:40 > +.heap-allocations-icon .icon { > + content: url(../Images/HeapAllocationsInstrument.svg); > +}
Please add a fallback for GTK, see the code just below this (line 50-80) covered by
bug 153892
. Scripts is probably a reasonable fallback for them in the meantime. body:not(.mac-platform, .windows-platform) .heap-allocations-icon .icon { content: -webkit-image-set(url(../Images/ScriptLarge.png) 1x, url(../Images/
ScriptLarge@2x.png
) 2x); }
Timothy Hatcher
Comment 4
2016-03-21 13:51:59 PDT
Comment on
attachment 274620
[details]
[Patch] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=274620&action=review
> Source/WebInspectorUI/UserInterface/Images/HeapAllocationsInstrument.svg:3 > +<svg viewBox="0 0 16 16" version="1.1" xmlns="
http://www.w3.org/2000/svg
">
This should be: <svg xmlns="
http://www.w3.org/2000/svg
" id="root" version="1.1" viewBox="0 0 16 16"> Which is the order we use for other SVGs and id="root" incase we ever need to use it as a <symbol>.
Matt Baker
Comment 5
2016-03-21 16:57:14 PDT
Created
attachment 274630
[details]
[Patch] Proposed Fix
Joseph Pecoraro
Comment 6
2016-03-21 16:59:41 PDT
Comment on
attachment 274630
[details]
[Patch] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=274630&action=review
r=me
> Source/WebInspectorUI/UserInterface/Views/TimelineIcons.css:81 > +body:not(.mac-platform, .windows-platform) .memory-icon .icon { > + content: -webkit-image-set(url(../Images/ScriptLarge.png) 1x, url(../Images/
ScriptLarge@2x.png
) 2x); > +}
Heh, thanks. I neglected to add this because EANBLE_RESOURCE_USAGE is not enabled on other ports yet.
Matt Baker
Comment 7
2016-03-21 17:01:37 PDT
(In reply to
comment #6
)
> Comment on
attachment 274630
[details]
> [Patch] Proposed Fix > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=274630&action=review
> > r=me > > > Source/WebInspectorUI/UserInterface/Views/TimelineIcons.css:81 > > +body:not(.mac-platform, .windows-platform) .memory-icon .icon { > > + content: -webkit-image-set(url(../Images/ScriptLarge.png) 1x, url(../Images/
ScriptLarge@2x.png
) 2x); > > +} > > Heh, thanks. I neglected to add this because EANBLE_RESOURCE_USAGE is not > enabled on other ports yet.
I was wondering :)
WebKit Commit Bot
Comment 8
2016-03-21 17:51:45 PDT
Comment on
attachment 274630
[details]
[Patch] Proposed Fix Clearing flags on attachment: 274630 Committed
r198511
: <
http://trac.webkit.org/changeset/198511
>
WebKit Commit Bot
Comment 9
2016-03-21 17:51:49 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