On 7/29/2014 9:58 AM, Neil wrote: > How do toolkit components in content processes start themselves up, does > it all have to be done through content scripts loaded by the message > manager?
In the case of requestAutocomplete, the code that runs in the child process is activated directly by the DOM content calling an XPCOM service. The service then gets the frame message manager for the window, which sends asynchronous messages to the parent process. There are no frame scripts (or content scripts, as they used to be called). However, we still need to register a global message listener in the parent process at startup, because there is currently no service that allows code in the child process to load a script in the parent. Cheers, Paolo _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform