Details
- Reviewers
aswan - Commits
- rMOZILLACENTRAL7262fc6d3c83: Bug 1525511: Part 2c - Stop using LightweightThemeManager for customize mode…
Restricted Diffusion Commit - Bugzilla Bug ID
- 1525511
Diff Detail
- Repository
- rMOZILLACENTRAL mozilla-central
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
@kmag Since this is more-or-less adding support for static themes in the customization mode popup, could you add this test: https://hg.mozilla.org/mozreview/gecko/rev/5436d923b23de7b6d9066e8bbe37ba9a2f99c3a1#l4.3 ?
Also, there's some sporadic bug fixes for static themes in that same patch that you may want to integrate.
browser/components/customizableui/test/browser_1007336_lwthemes_in_customize_mode.js | ||
---|---|---|
69 | would an AddonListener work here? (and below) |
No, this will already handle testing static themes when we migrate the built-in themes. If you want to add a test in another bug, that's fine with me.
browser/components/customizableui/test/browser_1007336_lwthemes_in_customize_mode.js | ||
---|---|---|
69 | No. There's async work that happens after the add-on listener fires. |
@kmag That's not going to happen anytime soon, not until this l10n issue is solved at least: https://bugzilla.mozilla.org/show_bug.cgi?id=1457865
In the meanwhile, it would be nice to have testing coverage for actual features we ship, which includes static theme support in the customization mode in this case.
It is going to happen soon. In any case, supporting static themes isn't really my goal here. My goal is removing code that touches LightweightThemeManager
browser/components/customizableui/test/browser_1007336_lwthemes_in_customize_mode.js | ||
---|---|---|
69 | How about TestUtils.waitForCondition() then? |
browser/components/customizableui/test/browser_1007336_lwthemes_in_customize_mode.js | ||
---|---|---|
69 | Fine. |