Closed eyalroz closed 3 years ago
I rephrased that section. I made it clear that subFolders now returns a simple array.
@jobisoft : It's an nsIArray
... is that always interpreted as a plain JS array?
For the JS interface it is an array: https://searchfox.org/comm-central/source/mailnews/base/public/nsIMsgFolder.idl#667
Or is it not?
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.