Electrolysis/FAQ
I'm trying to make new code use IPDL, and headers like IPCMessageUtils.h are missing...
In every directory which needs to use IPDL protocols, the Makefile.in should include chromium-config.mk like this:
include $(topsrcdir)/config/config.mk include $(topsrcdir)/ipc/chromium/chromium-config.mk include $(topsrcdir)/config/rules.mk
See e.g. content/base/src: http://hg.mozilla.org/projects/electrolysis/file/c3b494310a9f/content/base/src/Makefile.in#l187
How do I test the multi-process plugins?
To test multi-process plugins, set the pref dom.ipc.plugins.enabled to true... you can do this from about:config in the browser.
I can't get Electrolysis to build on Mac.
Indeed. Electrolysis doesn't build on mac yet.
Why do I get weird segmentation faults after I change something in an .idl file ?
When you change what's exposed in an .idl file, it's not sufficient to rebuild only the stuff that you're working on and that you know is using that XPCOM component. Indeed, many other parts of the codebase might be using it too. So these segmentation faults arise from those not-rebuilt objects having out-of-date vtables of the updated idl interface.
In order solve the problem, you'll have to rebuild FROM TOP every time you change something in an interface.