316
edits
(→Changes to JS in mozilla59: new XMLHttpRequest()) |
(Added removed nsIDOM* interfaces and nsIURI changes) |
||
| Line 62: | Line 62: | ||
* StopIteration [https://developer.mozilla.org/en-US/docs/Archive/Web/StopIteration] | * StopIteration [https://developer.mozilla.org/en-US/docs/Archive/Web/StopIteration] | ||
== Removed in mozilla59 == | == Removed and changed in mozilla59 == | ||
* 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: | * 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 add-on's install.rdf contains no <em:optionsType> declaration, the add-on'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. [[File:Add-on Options.png|none|Screenshot showing Add-on Options in TB 59]] | # If add-on's install.rdf contains no <em:optionsType> declaration, the add-on'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. [[File:Add-on Options.png|none|Screenshot showing Add-on Options in TB 59]] | ||
| Line 68: | Line 68: | ||
# 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. | # 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. | ||
* The statusbarpanel-iconic and statusbarpanel-iconic-text was removed, use toolbarbutton instead. See {{bug|1417198}} for [https://hg.mozilla.org/comm-central/rev/d342491c066b an example]. | * The statusbarpanel-iconic and statusbarpanel-iconic-text was removed, use toolbarbutton instead. See {{bug|1417198}} for [https://hg.mozilla.org/comm-central/rev/d342491c066b an example]. | ||
* nsIURI.spec is read-only, use url.mutate().setSpec(aSpec).finalize(); | |||
== Changes to JS in mozilla59 == | == Changes to JS in mozilla59 == | ||
| Line 86: | Line 87: | ||
<?xml-stylesheet type="text/css" href="chrome://messenger/skin/preferences/preferences.css"?> | <?xml-stylesheet type="text/css" href="chrome://messenger/skin/preferences/preferences.css"?> | ||
</pre> to the XUL file that defines that dialog. | </pre> to the XUL file that defines that dialog. | ||
== Removed and changed in mozilla60 == | |||
* Removed interfaces: nsIDOMXPathResult, nsIDOMNodeFilter, many methods of nsIDOMNode, nsIDOMElement::{Get|Set}Attribute(), nsIDOMHTMLElement, nsIDOMHTMLDocument, nsIDOMHTMLMediaElement, nsIDOMFormData. Some of the removed interfaces only affect C++ in Thunderbird internally but are listed here for completeness. | |||
* All attributes of nsIURI.spec are read-only, use for example url.mutate().setQuery(aQuery).finalize(); | |||
== Outlook and Suggestion == | == Outlook and Suggestion == | ||
'''Suggestion for add-on authors wishing to be compatible with Thunderbird 59: Go, go, go!''' The fix for {{bug|1414398}} (default preferences) and {{Bug|1419145}} (menu to access add-on options, tab options (3) work) has arrived (2017-12-12 and 2017-12-22). {{Bug|1418914}} has been fixed and then inline options can be achieved via an embedded WebExtension | '''Suggestion for add-on authors wishing to be compatible with Thunderbird 59: Go, go, go!''' The fix for {{bug|1414398}} (default preferences) and {{Bug|1419145}} (menu to access add-on options, tab options (3) work) has arrived (2017-12-12 and 2017-12-22). {{Bug|1418914}} has been fixed and then inline options can be achieved via an embedded WebExtension. | ||
All add-ons compatible with TB 58 beta need further changes as mentioned above to be compatible with TB 59 Beta | All add-ons compatible with TB 58 beta need further changes as mentioned above to be compatible with TB 59 Beta and TB 60 Daily. | ||
== Also Note == | == Also Note == | ||
The list above only contains selected changes relevant to add-ons. The full list of changes can be seen at [https://developer.mozilla.org/en-US/Firefox/Releases Firefox developer release notes] where all the details, bugzilla bug reports and patches implementing those changes can be found. | The list above only contains selected changes relevant to add-ons. The full list of changes can be seen at [https://developer.mozilla.org/en-US/Firefox/Releases Firefox developer release notes] where all the details, bugzilla bug reports and patches implementing those changes can be found. | ||
edits