<div dir="ltr">On Wed, Mar 22, 2017 at 9:12 PM, Andrew McCreight <span dir="ltr"><<a href="mailto:amccreight@mozilla.com" target="_blank">amccreight@mozilla.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Mar 22, 2017 at 6:00 PM, Nicholas Nethercote <<a href="mailto:n.nethercote@gmail.com">n.nethercote@gmail.com</a><br>
> wrote:<br>
<br>
> Do we have a clear definition of "content process"? I.e. does/will it<br>
> include:<br>
><br>
> - GMP processes (no?)<br>
> - GPU process (probably not?)<br>
> - file:// URL processes (probably should?)<br>
> - Web Extensions processes (probably should?)<br>
> - ServiceWorker processes (probably should?)<br>
><br>
<br>
</span>The most operational definition is that a content process is a process<br>
where XRE_IsContentProcess() returns true. From the enum GeckoProcessType,<br>
you can see the various other possibilities. So the answers to your<br>
questions are then probably that GMP and GPU are not, but the others are.<br>
Though maybe you are asking which processes count against the limit of 4.<br></blockquote><div><br></div><div>FWIW, the intention is that the worker process would not count against the limit. It would not contain any windows and would be significantly smaller in size.<br></div><div><br></div><div>Ben<br></div></div></div></div>