Urgent.News

What's breaking now, across thousands of outlets.

Tech

Firefox Fission: How Site Isolation Works and Why It Matters

Firefox's Fission project (also called Site Isolation) fundamentally changed how Firefox handles process separation. It's now fully enabled by default, but understanding it helps explain some Firefox behavior. What Fission Does Before Fission: Firefox used a multi-process architecture called e10s (Electrolysis), where the browser UI ran in one process and web content ran in content processes.…

Firefox's Fission project, also known as Site Isolation, revolutionized how the browser handles process separation. The update, now enabled by default, serves to improve security and performance. Before Fission, Firefox utilized a multi-process architecture called e10s, wherein the browser's user interface resided in one process, while web content ran in content processes. Multiple tabs could share these content processes.

Post-Fission, each site origin is assigned its distinct isolated process. For instance, mail.google.com and docs.google.com operate in separate processes, even though they share the same domain. Similarly, an iframe from evil.com embedded within trusted.com enjoys its own individual process. This level of isolation aims to enhance the browser's security posture.

The primary motivation behind Fission's inception was to counteract hardware vulnerabilities such as Spectre and Meltdown, which enable a process to illicitly access memory from other processes present on the same CPU core. Without site isolation, a malicious site nested within an iframe could potentially exploit these vulnerabilities to access cross-origin data, including authentication tokens, credentials, and user data.

However, with Fission, each origin is segregated into its unique process. This means that even if a site were to exploit Spectre, it would be confined to reading only its own process's memory, thereby preventing unauthorized access to cross-origin data.

From a user perspective, the primary consequence of Fission is an increase in memory usage. Since each isolated site necessitates its own process, coupled with additional memory for process overhead, Firefox's overall memory consumption has risen following the implementation of Fission. Firefox attempts to mitigate this tradeoff by limiting the number of concurrent processes via the 'dom.ipc.processCount' setting.

The default value is automatically adjusted based on the available RAM. This adjustment ensures that performance degradation is generally neutral to positive, as sites are no longer interfering with each other's processes. Additionally, a crash in a content process, which could have previously affected multiple tabs, now only impacts the specific site's tabs, thanks to the enhanced crash isolation feature.

To verify Fission's status, one can navigate to about:support, where a status of '1/1 (Enabled by Fission)' should be displayed. Alternatively, the about:config page allows one to check the 'fission.autostart' preference, which should be set to true. Extensions also benefit from Fission, as they now operate within their own processes, ensuring isolation from web content.

This isolation is crucial, as some extension APIs that previously relied on shared memory behavior have required updates to maintain compatibility with Fission.

Fission also complements Firefox's Total Cookie Protection (TCP) feature, which further fortifies data layer isolation. TCP ensures that each top-level site possesses its distinct cookie jar, thereby preventing trackers from accessing cookies set by other sites. Together, Fission and TCP collectively mitigate cross-site tracking and data leakage.

While Fission significantly bolsters the browser's security profile, similar to Chrome's site isolation, it does introduce a tangible memory tradeoff. However, on modern hardware, this impact tends to be manageable and typically goes unnoticed by most users, who can enjoy enhanced security without any additional effort.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Firefox on macOS: TouchID, Apple Silicon, and Platform-Specific Features

Firefox on macOS has some specific integrations worth knowing about, plus a few rough edges compared to Safari. TouchID for Passwords Firefox on macOS supports TouchID for the built-in password…

  • Firefox on macOS offers TouchID for Passwords autofill feature
  • Firefox supports Retina displays natively with 2.0 Device Pixel Ratio
  • Firefox runs natively on Apple Silicon with better performance

Firefox Forks Compared: LibreWolf, Floorp, Zen, and Waterfox

Firefox has a growing ecosystem of community forks that take Gecko in different directions. Here's a practical comparison of the notable ones. LibreWolf The most focused privacy fork.

  • LibreWolf removes telemetry and includes pre-configured security hardening
  • Floorp focuses on productivity with vertical tabs and a note-taking panel
  • Zen offers minimalist, vertical-first UI with sidebar-centric layout and split view

Firefox Built-in Password Manager: What It Does and When to Use It

Firefox has a built-in password manager that most people overlook in favor of third-party apps. For some workflows, it's actually quite good.

  • Firefox's password manager saves and autofills login info when users click "Save".
  • It generates complex passwords and allows searching saved passwords via "about:logins".
  • Primary password adds security layer, encrypting vault file for decryption.

More from Friday 16 October →