316
edits
(Added note about preferences.css to section thunderbird59) |
(Clarified DateTimeFormat usage) |
||
| Line 15: | Line 15: | ||
* nsIProgrammingLanguage | * nsIProgrammingLanguage | ||
* nsILocaleService and friends | * nsILocaleService and friends | ||
* nsIScriptableDateFormat -- replacement: Intl.DateTimeFormat and mozIntl.DateTimeFormat | * nsIScriptableDateFormat -- replacement: [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat Intl.DateTimeFormat] and mozIntl.DateTimeFormat (use: |Services.intl.createDateTimeFormat(...)| in Thunderbird 57 and 58, changed to |new Services.intl.DateTimeFormat(...)| from Thunderbird 59). | ||
* nsIFilePicker.show() -- replacement: nsIFilePicker.open() (async), example: [https://hg.mozilla.org/comm-central/rev/d960dcde18c4#l6.12 Changeset where Thunderbird implemented that change]. There's also a "lazy" replacement: | * nsIFilePicker.show() -- replacement: nsIFilePicker.open() (async), example: [https://hg.mozilla.org/comm-central/rev/d960dcde18c4#l6.12 Changeset where Thunderbird implemented that change]. There's also a "lazy" replacement: | ||
<pre>function PickerShow(fp) { | <pre>function PickerShow(fp) { | ||
| Line 71: | Line 71: | ||
[https://www.fxsitecompat.com/en-CA/versions/59/] | [https://www.fxsitecompat.com/en-CA/versions/59/] | ||
* catch (ex if ...) | * catch (ex if ...) | ||
* |Services.intl.createDateTimeFormat(...)| in Thunderbird 57 and 58 changed to |new Services.intl.DateTimeFormat(...)| | |||
== Changes in thunderbird59 == | == Changes in thunderbird59 == | ||
edits