I think it might be more of a Discord problem. I've experienced "a few weird crashes" on Windows, Mac, and Wayland GNOME. Windows being the most problematic in general.
idk how we can blame some JavaScript and html inside Firefox causing a Wayland crash as Discord’s fault. They’re like 9000 layers of abstraction away from whatever SIGSEGV caused the crash