Thunderbird/Add-ons Guide 57: Difference between revisions

Jump to navigation Jump to search
Added examples
(added mozIntl.DateTimeFormat)
(Added examples)
Line 15: Line 15:
** nsILocaleService and friends
** nsILocaleService and friends
** nsIScriptableDateFormat -- replacement: Intl.DateTimeFormat and mozIntl.DateTimeFormat
** nsIScriptableDateFormat -- replacement: Intl.DateTimeFormat and mozIntl.DateTimeFormat
** nsIFilePicker.show() -- replacement: nsIFilePicker.open() (async)
** nsIFilePicker.show() -- replacement: nsIFilePicker.open() (async), example: [https://hg.mozilla.org/comm-central/rev/d960dcde18c4#l6.12 Changeset where Thunderbird implemented that change]
** nsIDownloadManager
** nsIDownloadManager
** Promise.jsm -- replacement: PromiseUtils.jsm
** Promise.jsm -- replacement: PromiseUtils.jsm
Line 37: Line 37:
* Removed in mozilla58
* Removed in mozilla58
** Date.prototype.toLocaleFormat
** Date.prototype.toLocaleFormat
** {get,set}ComplexValue use of nsISupportsString -- replacement: {get,set}StringPref()
** {get,set}ComplexValue use of nsISupportsString -- replacement: {get,set}StringPref(), example: [https://hg.mozilla.org/comm-central/rev/3a0c2f6597ef#l1.12 Changeset where Thunderbird implemented that change]
** Mechanism to store add-on preferences in defaults/preferences/xx.js. '''Thunderbird 58 Beta not affected due to backout of this core change.''' Work on the way to re-establish this feature, see {{bug|1414398}}.  
** Mechanism to store add-on preferences in defaults/preferences/xx.js. '''Thunderbird 58 Beta not affected due to backout of this core change.''' Work on the way to re-establish this feature, see {{bug|1414398}}.  


316

edits

Navigation menu