Making new code be electrolysis-compatible

Gavin Sharp gavin at gavinsharp.com
Wed Dec 11 21:39:35 UTC 2013


On Mon, Dec 9, 2013 at 6:42 PM, Bill McCloskey <wmccloskey at mozilla.com> wrote:
> We're making a lot of progress converting Firefox frontend code to be compatible with multiple processes. One thing that would really help the process along is to agree that new code should be written from the start with electrolysis in mind. That means that anything that touches content data (the DOM, the docshell, or the content inner/outer windows) needs to do so via a content script [1].

I concur. All Firefox reviewers should treat this as a requirement
when reviewing new code. If we identify specific cases where following
this policy is overly arduous, they should be discussed here on
firefox-dev, but I don't expect there to be any such cases.

Gavin



More information about the firefox-dev mailing list