maildev@lists.thunderbird.net

Thunderbird email developers

View all threads

Fwd: Re: Proposal to remove some preferences override support

OE
Onno Ekker
Wed, Nov 8, 2017 8:00 AM

On Tue, Nov 7, 2017 at 10:03 PM, Jörg Knobloch jorgk@jorgk.com wrote:

On 07/11/2017 08:15, Onno Ekker wrote:

However, for the release of Thunderbird 59, there are more changes that
affect (like break) add-ons. Here are just a few I ran into:

  • Removal of STEEL
  • Removal of nsIScriptableDateFormat
  • Removal of nsILocalFile
  • Removal of for..each construct
  • Removal of with construct

There were a few more, most notably nsIFilePicker.show().

BTW, I'm not aware of a "with construct".

I'm not sure if support for it is removed totally, or only when you toggle
the pref javascript.options.strict to true:
<
https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/Debugging_JavaScript#Strict_code_checking

Onno

On Tue, Nov 7, 2017 at 10:03 PM, Jörg Knobloch <jorgk@jorgk.com> wrote: > On 07/11/2017 08:15, Onno Ekker wrote: > >> However, for the release of Thunderbird 59, there are more changes that >> affect (like break) add-ons. Here are just a few I ran into: >> * Removal of STEEL >> * Removal of nsIScriptableDateFormat >> * Removal of nsILocalFile >> * Removal of for..each construct >> * Removal of with construct >> > > There were a few more, most notably nsIFilePicker.show(). > > BTW, I'm not aware of a "with construct". > See here: < https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/with > I'm not sure if support for it is removed totally, or only when you toggle the pref javascript.options.strict to true: < https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/Debugging_JavaScript#Strict_code_checking > Onno
JK
Jörg Knobloch
Sat, Nov 11, 2017 8:12 AM

On 07/11/2017 08:15, Onno Ekker wrote:

for the release of Thunderbird 59, there are more changes that affect (like break) add-ons. Here are just a few I ran into:

  • Removal of STEEL

  • Removal of nsIScriptableDateFormat

* Removal of nsILocalFile

  • Removal of for..each construct

  • Removal of with construct

As mentioned, there were many more. I've just noticed that the withdrawal of

prefs.setComplexValue("extensions.xxx.yyy", Components.interfaces.nsISupportsString, {data: "theString"});

has broken ProfileSwitcher which so far has resisted the flood of M-C changes.

Jörg.