Go to the root path of the web server, i.e. localhost:8000
See a blank page and an error.
Expected behavior
I see the welcome screen.
Edition and Platform
Edition: Personal Server
Version: 7.4.3
Browser and OS: Firefox 68, Ubuntu 20.04
Symptom
Loading any board causes a runtime exception as follows:
TypeError: Intl.Locale is not a constructor
Root cause
This is a vanilla web compatibility bug with older versions of Firefox due to missing API implementations. (I am operating Focalboard under a proprietary, restricted environment where a browser upgrade is not feasible.)
Steps to reproduce the behavior
Expected behavior
I see the welcome screen.
Edition and Platform
Symptom
Loading any board causes a runtime exception as follows:
Root cause
This is a vanilla web compatibility bug with older versions of Firefox due to missing API implementations. (I am operating Focalboard under a proprietary, restricted environment where a browser upgrade is not feasible.)
Proposal
There exists a polyfill for this API: https://formatjs.io/docs/polyfills/intl-locale/
I fixed this issue locally with the following patch:
I'd like to propose something like this: it offers improved webcompat with minimal additional code, and with minor bundle size cost.