gecko-dev/toolkit/mozapps/extensions/content
Harry Twyford 8b8efc8503 Bug 1731146 - Manage built-in themes from BuiltInThemes.jsm and use it to defer installing colorway themes. r=dao,mixedpuppy
This creates a centralized place to manage built in themes. The main motivation for this is that we want to defer intalling built-in themes until after UI startup, but we need to ensure those themes are installed when about:addons is visited. This module is called from both BrowserGlue (for installation) and aboutaddons.js (to ensure installation). Also, built in themes handing is all over the place right now, and this centralizes it, which is nice.

This also creates a more-permanent pref for colorway themes. The rationale is that I could see Product wanting a ripcord on this project and I want to build that in from the start.

This approach has serious performance improvements over the baseline. Here is perfherder for the current approach of installing before UI startup: https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=82baacf0b728add88c7e262ecb68d3fbcd1bda5e&newProject=try&newRevision=169edd7e48e5a051e5d3cbfbd6caaab4c496cd98&framework=1&page=1&showOnlyImportant=1 and again for an early version of the approach in this patch (installation after UI startup, but before I moved things to LightweightThemeConsumer): https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=82baacf0b728add88c7e262ecb68d3fbcd1bda5e&newProject=try&newRevision=6c200f35430a6af87401bd21c8db95e28a568964&framework=1&page=1&showOnlyImportant=1.

Differential Revision: https://phabricator.services.mozilla.com/D126549
2021-09-29 23:08:45 +00:00
..
OpenH264-license.txt
aboutaddons.css Bug 1729535 - Add monochromatic themes to about:addons#themes. r=harry,fluent-reviewers,mixedpuppy,flod 2021-09-29 18:44:46 +00:00
aboutaddons.html Bug 1729535 - Add monochromatic themes to about:addons#themes. r=harry,fluent-reviewers,mixedpuppy,flod 2021-09-29 18:44:46 +00:00
aboutaddons.js Bug 1731146 - Manage built-in themes from BuiltInThemes.jsm and use it to defer installing colorway themes. r=dao,mixedpuppy 2021-09-29 23:08:45 +00:00
aboutaddonsCommon.js Bug 1720845 - Remove the `extensions.webextPermissionPrompts` pref. r=rpl,robwu,asuth 2021-07-30 14:25:24 +00:00
abuse-report-frame.html
abuse-report-panel.css Bug 1696202 - Refactor close-icon.css to use color-mix(). r=preferences-reviewers,jaws 2021-03-04 02:51:00 +00:00
abuse-report-panel.js Bug 1724718 - Abuse Report panel should fallback to extensionGeneric.svg on addons without an iconURL. r=Gijs 2021-08-10 11:24:07 +00:00
abuse-reports.js
drag-drop-addon-installer.js
panel-item.css Bug 1706155 - Set hover states for HCM common.css r=desktop-theme-reviewers,dao,morgan,preferences-reviewers 2021-05-10 16:31:27 +00:00
panel-list.css Bug 1714462 - Part 2: Remove CSS rules using "not (-moz-proton)" in miscellaneous files r=emalysz 2021-06-24 15:42:03 +00:00
rating-star.css
shortcuts.css Bug 1705509 - Hide -moz-outline-radius behind a pref. r=mstange 2021-04-16 01:01:45 +00:00
shortcuts.js Bug 1706398 support internal command _execute_action r=robwu 2021-06-15 14:51:12 +00:00
view-controller.js Bug 1699225 - Add taar_enabled/taar_based extra vars to addonsManager telemetry. r=willdurand,robwu 2021-04-14 10:48:08 +00:00