Closed Bug 1799980 Opened 2 years ago Closed 2 years ago

Add an intervention for healow.com

Categories

(Web Compatibility :: Interventions, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: twisniewski, Unassigned)

References

()

Details

Healow's i18n is a synchronous API, which waits for a synchronous XMLHttpRequest on its first call. But for subsequent calls, it waits in an infinite loop until the XHR has completed. This will never happen in Firefox, as it's stuck in the infinite loop, and the code after the XHR cannot run.

We can work around this by just making sure it doesn't get stuck in that loop, which may trigger the XHR to happen twice due to them disabling caching on those JSON files, but that's a better outcome than getting stuck in an infinite loop (the files are very small).

This is shipping in Firefox 108 via bug 1776677.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.