Since January 2025, this feature works across the latest devices and browser versions.
our Browser Support Strategy doesn't mention anything about Firefox ESRhttps://www.mozilla.org/en-US/firefox/enterprise/ (Extended Support Release), which implies it's not supported (meaning that we don't test XWiki with this Firefox version neither manually nor automated).
Even if we merge your PR, without proper testing (automated preferably), we can't prevent or catch the usage of such APIs in the future
It adds a bit to the technical dept of the project (we need to remember to switch back to Promise.try() when Firefox ESR add support for it, which may happen very soon).
Based on this I think we should close this issue (and its PR) as Won't Fix.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.