Changes

Jump to: navigation, search

Thunderbird/Add-ons Guide 57

437 bytes added, 13:52, 19 May 2018
Added an item for nsIScriptableUnicodeConverter
* nsILocaleService and friends
* 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).
* [https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIScriptableUnicodeConverter nsIScriptableUnicodeConverter] -- replacement: [https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder TextDecoder] and [https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder TextEncoder]; their web pages claim they only accept "utf-8" as the charset encoding, but that's not true, at least not in Thunderbird.
* 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) {
20
edits

Navigation menu