Electrolysis and privileged content: JS Modules, XPCOM Services, XBL etc.

Fruitbalad <[email protected]> Sun, 21 Aug 2011 01:57:49 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.dom
Organization http://groups.google.com
Message-ID <2286e2a2-67e6-40c4-899f-79bf032e3b74@c19g2000yqe.googlegroups.com>
Hello,

Reading the Electrolysis wikipage, this newsgroup seems to be the
appropriate place for questions about Electrolysis  ...

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. the code is currently heavily
relying on js modules

Now that every tab is going to have it's one process due to the
electrolysis-project (someday), 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?
Same goes for XBL-bindings - will those also be compiled per process?

Will cross-process-communication only be happening via message-
passing?

Thanks.