Hi all, x-posting this bug from the one I filed with Phoenix (Firefox hardening patchset, also used by IronFox on Android):
It seems the issue is relating to the Javascript used by this feature, not sure if this is something that can be resolved or not but figured it was worth flagging. This behavior doesn’t exhibit itself in Chromium browsers, or hardened forks like Vandium
Thanks for the report! I apologize for the delayed response here. I was able to replicate the issue, and it appears that, at the cost of security, setting javascript.options.baselinejit to true should resolve it. This functionality appears to be very poorly optimized - I can see it spamming console errors even on stock Firefox. The degraded performance likely occurs on other browsers that disable JIT as well (ex. Cromite, Microsoft Edge, Safari, Tor Browser, Vanadium), so it’s definitely something they need to fix.
I went ahead and documented this on the Web Compat page.
I did not see any spamming in the console, can you share that with us?
I did have a little look at profiling, clearly we can not reproduce any of this on browsers that JIT compile, but from what I can tell the slowdown is not coming from ProseMirror the underlying library.