Firefox 48 shipped today with two long-awaited new features designed to improve the stability and security of the browser.
After seven years of development , version 48 is at last enabling a multiprocess feature comparable to what Internet Explorer and Google Chrome have offered as stable features since 2009. By running their rendering engines in a separate process from the browser shell, IE and Chrome are more stable (a Web page crash does not take down the entire browser) and more secure (those separate processes can run with limited user privileges). In order to bring the same multiprocess capability to Firefox, Mozilla started the Electrolysis project in 2009. But the organization has taken substantially longer than Microsoft, Google, and Apple to ship this feature.
Even after all this time, Firefox's multiprocess system is not a match for its peers. The rollout of Electrolysis is being handled conservatively in spite of asuccessful beta. For the next few days, only a fraction of a percent of Firefox 48 users will have Electrolysis turned on by default. If this mini-rollout goes well, the multiprocess feature will be rolled out to about half of all Firefox 48 users and will be extended to handle extensions known to be compatible in Firefox 50. Electrolysis will be rolled out to Firefox 51 users with touchscreen devices, right-to-left languages, and disabled accessibility software, making it available to most Firefox users.
Firefox's multiprocess feature will still fall short of what Edge, Chrome, and Safari do, as it will use a single process for every tab. Those other browsers tend to use one process for one, or perhaps a small handful, of tabs. Using one process for multiple tabs not only protects the browser shell in the event of a crash; it also avoids any contagion between tabs. Running multiple tabs with one process also prevents data leaks between tabs. Electrolysis is due to be rolled out in the first half of 2017. After that is done, the extensions will be moved to separate processes too.
As much as Firefox lags in this area, it's cutting edge in another. Mozilla'sRust language is designed to give the same level of performance and control as C++, but without C++'s susceptibility tosecurity flaws. The company has developed Rust code to replace the C++ code which currently handles complex media formats. This replacement code is now shipping in the stable version of Firefox 48.