Skip to content

avoid Promise.try usage #4376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

avoid Promise.try usage #4376

wants to merge 1 commit into from

Conversation

bfis
Copy link

@bfis bfis commented Jul 11, 2025

Jira URL

https://jira.xwiki.org/browse/XWIKI-23377

Changes

Use try catch and Promise.resolve to implement what Promise.try provides. Thus avoids re-enables support for older browsers, e.g. Firefox 128 ESR.

Expected merging strategy

  • Prefers squash: Yes

fixes XWIKI-23377
@mflorea mflorea self-assigned this Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants