Port bug 1525762: Convert built-in LWTs to static themes
Categories
(Thunderbird :: Theme, task)
Tracking
(Not tracked)
People
(Reporter: jorgk-bmo, Assigned: Paenglab)
Details
(Whiteboard: [Thunderbird-testfailure: Z all][Thunderbird-disabled-test])
Attachments
(3 files)
16.90 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
2.40 KB,
patch
|
Details | Diff | Splinter Review | |
13.89 KB,
patch
|
darktrojan
:
feedback+
mkmelin
:
feedback+
|
Details | Diff | Splinter Review |
Bug 1525762 is now on inbound. We're leaving it to the last minute?
Assignee | ||
Comment 1•6 years ago
|
||
I hope I found all changes we need to change too.
Not tried locally as there are too many patches to import but started a try: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=1e398992cf79463037db7db9c54513d9e1968f2c
Reporter | ||
Comment 2•6 years ago
|
||
You're an expert now with that M-C pinning ;-) - Looks like a lot of changes, thanks!
Assignee | ||
Comment 3•6 years ago
|
||
Tried the try build and it seems to work. It looks like before. The only difference, there is a version in the add-on info.
Reporter | ||
Comment 4•6 years ago
•
|
||
Ahh, you should have run the tests :-( - Here they are:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=7f06c2b5dbd90b06664f1afb48124dda99877bc3
Reporter | ||
Comment 5•6 years ago
|
||
Reporter | ||
Comment 6•6 years ago
|
||
OK, as expected, mozmill/content-tabs/test-lwthemes.js fails now. Aceman, could you please take a look at that one.
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 8•6 years ago
•
|
||
This works a bit more, but still doesn't pass. We get:
msgMail3PaneWindow.js, line 1634: TypeError: this._manager.parseTheme is not a function
since parseTheme
was removed in part 3e of the M-C bug:
https://hg.mozilla.org/mozilla-central/rev/b7481329e0b7#l3.152
So apart from changes to the test, there are changes necessary in msgMail3PaneWindow.js.
Reporter | ||
Comment 9•6 years ago
•
|
||
Well, looks like LightWeightThemeWebInstaller
was removed from M-C and events like InstallBrowserTheme
don't exist any more either. But that already happened in bug 1525511, part 1:
https://hg.mozilla.org/mozilla-central/rev/e711fcd0a02d#l3.13.
More research: The LWT stuff in TB was landed here: https://bugzilla.mozilla.org/show_bug.cgi?id=538335#c40
I little hard to tell what needs to be done here.
Reporter | ||
Comment 10•6 years ago
|
||
Hmm, the test prints
dispatching InstallBrowserTheme
dispatching PreviewBrowserTheme
but the listener is in msgMail3PaneWindow.js in LightWeightThemeWebInstaller
whose sister was was removed from M-C and which doesn't work any more since the it gets the LightweightThemeManager
and calls parseTheme
which was removed.
So no idea what the ultimate aim is for the test.
Reporter | ||
Comment 11•6 years ago
|
||
Just remove it all?
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Comment 15•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/c1302806cfdc
Remove LightWeightThemeWebInstaller code from 3pane and remove test-lwthemes.js. r=darktrojan,mkmelin
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Description
•