Re: Electrolysis and privileged content: JS Modules, XPCOM Services, XBL etc.
Boris Zbarsky <[email protected]> Mon, 22 Aug 2011 10:28:06 -0400
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
On 8/21/11 4:57 AM, Fruitbalad wrote: > I developed a firefox extension that adds filebrowser capabilities to > firefox. browser-tabs are used to display the fileviews (chrome- > url's), which are privileged code. Then those should be loaded in in-process tabs, I would think. > Now that every tab is going to have it's one process That's not the plan. The plan is to have a pool of processes used for tabs showing web pages (so multiple tabs can all be in the same process, in fact). In-tab browser UI (e.g. about:addons) would continue to be in the browser process. > I wonder what happens with JS Modules > and XPCOM-Services. Are those still shared across the whole > application in some way or will every process have its own instance? The latter, but that's not really relevant to your use case. > Same goes for XBL-bindings - will those also be compiled per process? Yes. > Will cross-process-communication only be happening via message- > passing? From an API standpoint, I believe the answer is yes (though under the hood there may be shared memory or whatnot involved). But don't quote me on this. ;) -Boris