Este artigo necessita de uma revisão editorial. Como posso ajudar.
Esta tradução está incompleta. Ajude atraduzir este artigo.
In current versions of desktop Firefox, the entire browser runs in a single operating system process. In particular, the JavaScript that runs the browser UI (also known as "chrome code") runs in the same process as the code in web pages (also known as "content" or "web content").
Future versions of Firefox will run the browser UI in a separate process from web content. In the first iteration of this architecture all browser tabs will run in the same process, and the browser UI will run in a different process. In future iterations, we expect every browser tab to run in its own process. The project that's delivering multiprocess Firefox is called Electrolysis, sometimes abbreviated to e10s.
Normal web pages are unaffected by multiprocess Firefox. People working on Firefox itself and Firefox add-on developers will be affected if their code relies on being able to access web content directly.
Instead of accessing content directly, chrome JavaScript will have to use the message manager to access content. To help ease the transition we've implemented Cross Process Object Wrappers and some compatibility shims for add-on developers. If you're an add-on developer wondering whether you are affected, see the guide to working with multiprocess Firefox.
Multiprocess Firefox is currently enabled by default in Nightly builds. As a visual indicator that you're running multiprocess Firefox, the titles of remote tabs are underlined.
- Technical overview
- A very high-level view of how multiprocess Firefox is implemented.
- Glossary
- A reference for the jargon used in multiprocess Firefox.
- The message manager
- How to communicate between chrome and content.
- Message Manager interfaces
- Includes links to the API reference for the message manager interfaces.
- Frame script environment
- The environment frame scripts run in, and especially how it differs from the environment for chrome code.
- Motivation
- Why we're implementing multiprocess Firefox: performance, security, and stability.
- Add-on migration guide
- If you're an add-on developer, find out if you're affected and how to update your code.
- Cross Process Object Wrappers
- Cross Process Object Wrappers are a migration aid, giving chrome code synchronous access to content.
- Debugging frame scripts
- Using the Browser Content Toolbox to debug frame scripts.
- Limitations of chrome scripts
- Practices that will no longer work in chrome code, and how to fix them.
- Limitations of frame scripts
- Practices that will not work inside frame scripts, and what to do instead.
Contact us
Find out more about the project, get involved, or ask us your questions.
- Electrolysis project page: https://wiki.mozilla.org/Electrolysis
- IRC: #e10s on irc.mozilla.org
- Mailing list: dev.tech.electrolysis