Thunderbird/Add-ons Guide 57

From MozillaWiki
< Thunderbird
Revision as of 22:19, 23 November 2017 by Jorgk (talk | contribs) (First draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Add-ons Guide for Thunderbird 57 and beyond

FIRST DRAFT

Mozilla core have disabled "legacy" add-ons in Firefox 57. Since this type of add-on is not supported from mozilla57 any more, a lot of interfaces have been removed from Mozilla core.

These are:

  • Removed in mozilla57:
    • nsILocalFile
    • steelIApplication
    • extIApplication, nsIEntityConverter
    • nsIProgrammingLanguage
    • nsILocaleService and friends
    • nsIScriptableDateFormat
    • nsIFilePicker.show()
    • nsIDownloadManager
    • Promise.jsm
    • nsIPrefBranch2 and nsIPrefBranchInternal
    • nsIExternalProtocolService::LoadUrl
  • JS and XUL changes in mozilla57 [1]
    • for (x in fixIterator(obj))
    • `for each` construct [2]
    • `with` construct [3]
    • catch (ex if ex instanceof ExceptionType)
    • In XUL files, JS files are linked in with <script type="application/x-javascript" ... > OR <script type="application/x-javascript;version=1.7" ... > (remove `x-` and version)
  • Removed in mozilla58
    • {get,set}ComplexValue use of nsISupportsString
    • Mechanism to store add-on preferences in defaults/preferences/xx.js. See bug 1414398
  • JS changes in mozilla58 [4]
    • StopIteration [5]
  • Removed in mozilla59
    • Inline options. See bug 1419145. Add-ons need to embed a WebExtension to display an options dialog[6][7].
  • JS changes in mozilla59 [8]
    • catch (ex if ...)