Bug 1554612 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Magnus Melin [:mkmelin] from comment #0)
> https://searchfox.org/comm-central/rev/5a670c59f9004ef9be4874cfbfe57ec2ef3b260f/mail/base/content/extensions.xml#14
> 
> A removal of will take place in bug 1554238.
> Unclear what we need to do. We can track bug 1505924 which will allow resolving bug 1554238, and figure it out then.

You can already enable the new interface by flipping on `extensions.htmlaboutaddons.enabled`, which is basically a rewrite of the add-ons' interface in HTML.

As for TB, I suspect aboutAddonsExtra.js, extensionsOverlay.css will have to be adapted to work with the new interface. `thunderbird-addon-generic` can change into a new CE extending [`AddonCard`](https://searchfox.org/mozilla-central/rev/fe7dbedf223c0fc4b37d5bd72293438dfbca6cec/toolkit/mozapps/extensions/content/aboutaddons.js#1256), and then aboutAddonsExtra.js can try to override the addon-card CE somehow. I suspect overriding will be non-trivial especially since `customElements.define()` is called [here](https://searchfox.org/mozilla-central/rev/fe7dbedf223c0fc4b37d5bd72293438dfbca6cec/toolkit/mozapps/extensions/content/aboutaddons.js#1640) but maybe the add-ons team can help make this easier from TB's side somehow?

Alternatively, if TB is no longer planning to support add-ons requiring restart, then I think that binding can go away.
(In reply to Magnus Melin [:mkmelin] from comment #0)
> https://searchfox.org/comm-central/rev/5a670c59f9004ef9be4874cfbfe57ec2ef3b260f/mail/base/content/extensions.xml#14
> 
> A removal of will take place in bug 1554238.
> Unclear what we need to do. We can track bug 1505924 which will allow resolving bug 1554238, and figure it out then.

You can already enable the new interface by flipping on `extensions.htmlaboutaddons.enabled`.

As for TB, I suspect aboutAddonsExtra.js, extensionsOverlay.css will have to be adapted to work with the new interface. `thunderbird-addon-generic` can change into a new CE extending [`AddonCard`](https://searchfox.org/mozilla-central/rev/fe7dbedf223c0fc4b37d5bd72293438dfbca6cec/toolkit/mozapps/extensions/content/aboutaddons.js#1256), and then aboutAddonsExtra.js can try to override the addon-card CE somehow. I suspect overriding will be non-trivial especially since `customElements.define()` is called [here](https://searchfox.org/mozilla-central/rev/fe7dbedf223c0fc4b37d5bd72293438dfbca6cec/toolkit/mozapps/extensions/content/aboutaddons.js#1640) but maybe the add-ons team can help make this easier from TB's side somehow?

Alternatively, if TB is no longer planning to support add-ons requiring restart, then I think that binding can go away.

Back to Bug 1554612 Comment 1