Closed
Bug 885452
Opened 11 years ago
Closed 11 years ago
Remove retrieveToolbarIconsizesFromTheme now that we only support one icon size
Categories
(Firefox :: Theme, defect)
Firefox
Theme
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: MattN, Assigned: mconley)
References
Details
(Keywords: addon-compat, perf, Whiteboard: [Australis:M8])
Attachments
(1 file)
4.28 KB,
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
retrieveToolbarIconsizesFromTheme shows up fairly high in JS profiles of browser startup. I suspect it can be simplified to avoid calls to getComputedStyle now that we only support a single toolbar icon size (bug 863299). Since we don't provide UI to switch the icon size, I think 3rd-party themes can make icons larger with CSS if they desire. If an extension wants to put the functionality back, they can implement this function and call it upon during browser initialization. I'm going to do a try push to see its effect on tspaint_places_generated_*.
Reporter | ||
Comment 1•11 years ago
|
||
Try push commenting out retrieveToolbarIconsizesFromTheme: https://tbpl.mozilla.org/?tree=Try&rev=13a5fa73decc
Reporter | ||
Comment 2•11 years ago
|
||
It seems like this has negligible effect on tspaint_places_generated_* unfortunately. I guess it's not too much of surprise given that the running time was 0.1% in the profiler. It's still unnecessary work which we should remove if possible.
No longer blocks: australis-ts
Assignee | ||
Updated•11 years ago
|
Assignee: mnoorenberghe+bmo → mconley
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #769127 -
Flags: review?(jaws)
Assignee | ||
Updated•11 years ago
|
Keywords: addon-compat
Summary: Consider removing retrieveToolbarIconsizesFromTheme now that we only support one icon size → Remove retrieveToolbarIconsizesFromTheme now that we only support one icon size
Assignee | ||
Comment 4•11 years ago
|
||
Marked addon-compat, because it's possible that some add-ons call this to deal with iconsize glitches.
Updated•11 years ago
|
Attachment #769127 -
Flags: review?(jaws) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Landed on UX as https://hg.mozilla.org/projects/ux/rev/f3d225d45859
Blocks: australis-cust
Whiteboard: [Australis:M8][fixed-in-ux]
Reporter | ||
Comment 6•11 years ago
|
||
Removing extra blocking bug since bug 863299 was already blocking australis-cust.
No longer blocks: australis-cust
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f3d225d45859
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:M8][fixed-in-ux] → [Australis:M8]
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•