-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
None
-
0
-
4
-
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
TC39 (the group responsible for adding features to JavaScript / ECMAScript) have a proposal to introduce a new global variable: https://github.com/tc39/proposal-global
This proposal is now at the Stage 3 (candidate) phase, and Firefox recently tried enabling it in a nightly build. Unfortunately they had to turn it off again after discovering compatibility problems with some well-known sites/software, including JIRA. The problem comes down to JIRA using an old version of moment.js.
Upgrading moment.js to at least version 2.9.0 (which contains the fix) should alleviate any future problems with this proposal.
See https://github.com/tc39/proposal-global/issues/20#issuecomment-271646615 and https://bugzilla.mozilla.org/show_bug.cgi?id=1328218#c4 for more context.
Update: JIRA is also now failing in the newly-released Safari Technology Preview 21 due to this problem.
- relates to
-
JRACLOUD-63750 Upgrade moment.js to avoid future browser compatibility issues
- Closed
For those of SDK users that are waiting for this change to be implemented, is there a way to manually load newer version of Moment.js and use it instead of built in?