Thunderbird/Add-ons Guide 57: Difference between revisions

Jump to navigation Jump to search
better explain support for optionsType
(Updated with the latest positive news :-))
(better explain support for optionsType)
Line 43: Line 43:
[https://www.fxsitecompat.com/en-CA/versions/58/]
[https://www.fxsitecompat.com/en-CA/versions/58/]
* StopIteration [https://developer.mozilla.org/en-US/docs/Archive/Web/StopIteration]
* StopIteration [https://developer.mozilla.org/en-US/docs/Archive/Web/StopIteration]
== Affected in thunderbird59 ==
* Add-on options (dialog or inline) not working in Add-ons Manager, only tab options work. {{bug|1419145}} provides a menu item to access add-on options. '''That fix has landed on Daily 59 as of 2017-12-22.'''


== Removed in mozilla59 ==
== Removed in mozilla59 ==
* Dialog (1) and Inline (2) options were removed in {{bug|1414406}}. Thunderbird will not support that feature any more, only options in tabs (3) work now. Alternatively add-ons need to embed a WebExtension to display inline options [https://developer.mozilla.org/Add-ons/WebExtensions/Embedded_WebExtensions][https://developer.mozilla.org/Add-ons/WebExtensions/manifest.json/options_ui]. This should be working now that {{bug|1418914}} has been fixed.
* Dialog (optionsType=1) and Inline (2) options were removed in {{bug|1414406}}. Thunderbird will not support that feature any more, only options in tabs (3) work now. Replacements:
# If addon's install.rdf contains no <em:optionsType> declaration, the addon's preferences page (<em:optionsURL>) will only be accessible via a new submenu in Tools menu (implemented in {{Bug|1419145}}, landed on Daily 59 as of 2017-12-22). The preferences will open in a dialog, as was the case in older versions.
# If addon's install.rdf contains <em:optionsType>3</em:optionsType>, the Preferences button will appear in the Add-on Manager tab besides the addon, as was the case in older versions. Clicking the button will open the preferences page in a new tab. The preferences page (optionsURL) is also accessible via the new submenu in Tools menu and will open in a tab. No other value of <em:optionsType> is supported and TB will even refuse to install such addons (decision from {{bug|1414406}}).
# Alternatively, add-ons may embed a WebExtension to display inline options [https://developer.mozilla.org/Add-ons/WebExtensions/Embedded_WebExtensions][https://developer.mozilla.org/Add-ons/WebExtensions/manifest.json/options_ui]. This should be working now that {{bug|1418914}} has been fixed.


== Changes to JS changes in mozilla59 ==  
== Changes to JS changes in mozilla59 ==  
91

edits

Navigation menu