Called here: https://searchfox.org/comm-central/rev/ea1b0a2bd38a192b4520cec322e290aae0809d3b/mailnews/compose/src/nsMsgCompose.cpp#1590 That's when the backend thinks that we're ready, but that doesn't take any later processing in JS into account. Maybe we should delay the onRecipientsChanged() call until all pills are ready, but then, that's not an official function with guaranteed behaviour :-(
Bug 1647050 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Called here: https://searchfox.org/comm-central/rev/ea1b0a2bd38a192b4520cec322e290aae0809d3b/mailnews/compose/src/nsMsgCompose.cpp#1590 That's when the backend thinks that we're ready, but that doesn't take any later processing in JS into account. Maybe we should delay the onRecipientsChanged() call until all pills are ready, but then, that's not an official function with guaranteed behaviour :-( EDIT: Note that add-ons use that, too: https://github.com/search?q=onRecipientsChanged++path:/xall+repo%3Acleidigh%2FThunderKdB+repo%3Athundernest%2Ftb-web-ext-experiments+path:/xall/x68+repo%3Acleidigh%2FThunderKdB&type=Code