Intent to Ship: JPEG XL
Firefox intends to ship JPEG XL support, built on jxl-rs, a Rust decoder written by Google Research in place of the earlier 100,000-line multithreaded C++ library to reduce attack surface.
Firefox intends to ship JPEG XL support, built on jxl-rs, a Rust decoder written by Google Research in place of the earlier 100,000-line multithreaded C++ library to reduce attack surface.
Firefox's crash reporter was rewritten in Rust, replacing three separate native GUI implementations (Win32, GTK, macOS) and their C++/Objective-C glue, which had no test suite, with a small custom UI abstraction.
Mozilla extended UniFFI, its Rust library for auto-generating foreign-language bindings, to emit JavaScript bindings for Firefox Desktop starting in Firefox 105, replacing error-prone hand-written wrappers that undermined Rust's memory safety.
Fuzzing rust-minidump with cargo-fuzz and libfuzzer turned up a series of real bugs in a Rust rewrite of Breakpad's minidump processor that had otherwise shipped cleanly.
rust-minidump, a pure-Rust replacement for the minidump-processing half of Google Breakpad, has been Firefox's crash-processing backend for six months, running in about half the time of Breakpad and appearing more reliable.
On January 13, 2022, Firefox hung worldwide for about two hours after Google Cloud silently made HTTP/3 the default on load balancers left at "Automatic", causing Telemetry connections to switch from HTTP/2 to HTTP/3.
Mozilla went from being able to symbolicate under 20% of Linux Firefox crash reports to over 99% by scraping debug information for distro-packaged Firefox builds and their dependencies (GTK, Mesa, fontconfig, SQLite, etc.) from Arch, Debian, Fedora, OpenSUSE and Ubuntu repositories.
Mozilla deployed ThreadSanitizer across Firefox's C/C++ and Rust code, using a compiled-in suppression list to gate new races in CI while legacy ones were triaged toward a "no data races" policy.