Paul Rouget writes: > The Firefox OS Simulator is a XulRunner instance run > from Firefox. Two processes, two windows, two different > version of gecko. > > It would be very useful if we could display the simulator > as part of Firefox. Inside a tab.
Under X11, the XEmbed protocol was designed for this. GTK implements most of this in GtkPlug and GtkSocket, and we use that for plugins. This has some issues with events such as propagating unused scroll events to the host. I think e10s was also using GtkPlug/GtkSocket at one stage, but I'm guessing inter-process layers have superseded this. If you can't load all the content in one process, then using the e10s infrastructure may be a good approach. It would require both processes to be a similar version, I assume, as there wouldn't be stability guarantees in the API. It would also require resources to fix up things that aren't complete or have deteriorated through lack of use, but this is something we want to have working at some stage anyway. I wouldn't recommend using the plugin APIs as our plugin-container is a Gecko and having two different Geckos in the same process is likely to be a problem. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform