зеркало из https://github.com/mozilla/gecko-dev.git
8b8efc8503
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 |
||
---|---|---|
.. | ||
OpenH264-license.txt | ||
aboutaddons.css | ||
aboutaddons.html | ||
aboutaddons.js | ||
aboutaddonsCommon.js | ||
abuse-report-frame.html | ||
abuse-report-panel.css | ||
abuse-report-panel.js | ||
abuse-reports.js | ||
drag-drop-addon-installer.js | ||
panel-item.css | ||
panel-list.css | ||
rating-star.css | ||
shortcuts.css | ||
shortcuts.js | ||
view-controller.js |