thunderbird / developer-docs

Developer documentation for Thunderbird contributors.
https://developer.thunderbird.net
80 stars 77 forks source link

TB 78->91 page missing: Change of subfolder attribute of nsIMsgFolder #126

Closed eyalroz closed 3 years ago

eyalroz commented 3 years ago

This happened before TB 86:

https://bugzilla.mozilla.org/show_bug.cgi?id=1682941

Now, the the TB 78->91 changes page does mention a change to nsIMsgFolder.subFolders - but not the correct change. The change isn't abandoning nsISupportsArray in favor of a JS array, but rather replacing nsISimpleIterator with nsIArray.

See also #127.

jobisoft commented 3 years ago

I rephrased that section. I made it clear that subFolders now returns a simple array.

eyalroz commented 3 years ago

@jobisoft : It's an nsIArray... is that always interpreted as a plain JS array?

jobisoft commented 3 years ago

For the JS interface it is an array: https://searchfox.org/comm-central/source/mailnews/base/public/nsIMsgFolder.idl#667

Or is it not?