Reported by @latent shadow
Bug Report: Chatgpt freezes on Firefox on certain types of response.
`Steps to Reproduce`
Ask ChatGPT to produce anything related to coding or canvas. It only occurs under this kind of response.
`Expected Result`
Smooth streaming response of texts.
`Actual Result`
Lagging CPU response, 100% CPU usage, freezes the web browser (Firefox) until being asked to terminate JS.
Tried debugging tools and found that the amount of JS function call stack was enormous.
Culprit file: https://cdn.oaistatic.com/assets/eumpsqtkmf0towzt.js
`Environment`
Windows 8.1, Firefox 115.15.0esr (64-bit), AMD Ryzen 7 2700 8-Core Processor 3.2Ghz, 16GB