MathJax 2.5 and 2.6.1 intermitent errors when timing out
Created by: migf
MathJax 2.5 and 2.6.1 may fail, in an uncontrolled way, to render formulas when the connection speed is low and the timout delay for loading/verifying files is exceeded. I detected the following cases:
- formulas appear as "[Math Processing Error]", the Javascript console showing a "too much recursion" error and sometimes also "TypeError: MathJax.Extension.MathEvents is undefined"
- formulas appear as source in grey, and the "too much recursion" error is shown
- after clearing cache and cached web content, formulas appear as source in text normal colour, and no errors are shown.
I think that MathJax should fail gracefully when timing out instead of entering an infinite loop or giving spurious error messages that may confuse page authors and users. Would it be possible to correct this behaviour?
Best regards, Miguel Filgueiras