I was under the impression that a substantial amount of it was being rewritten in Rust, which was part of the reason for the speedups (rewrite, not language)
Firefox is mostly old (i.e. pre-modern) C++. And even relies on a great deal of C code. Like Chromium.