Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Multi-process team and plan

2 views
Skip to first unread message

Benjamin Smedberg

unread,
May 5, 2009, 11:36:41 AM5/5/09
to
We are putting together a team to implement the ideas that have been
floating around about separate chrome and content processes. I have put
together a wiki page:

https://wiki.mozilla.org/Content_Processes

The core team who will be working on this project is currently myself, bent,
jdrew, jduell, and bz. If you'd like to volunteer to be part of this core
team, please let me know! We'll definitely be bringing in others as needed.

In order to keep the problem well scoped, we have decided to focus first on
the responsiveness and stability aspects of multi-process, and defer
security sandboxing to a future phase.

There are a lot of unknowns in this project, but I'd like to call out
several in particular:

== Chrome content touching content DOM ==

We'd like to get a list of all the places UI code (chrome) touches content
DOM or JS. At this point we want to get a sense of how frequent this kind of
access is, and what kinds of data it actually needs.

This is because we'd like to avoid having to implement wrappers which expose
arbitrary JS objects or XPCOM objects from the content process to the chrome
process. Instead, all accessses would hopefully be asynchronous. But since
this involves rewriting chrome code, we'd like to scope the problem before
making any decisions.

I can think of at least the following places which touch content from chrome:

* context menus
* session store
* find in page
* snapshots of content (tab previews)

--BDS

Shawn Wilsher

unread,
May 5, 2009, 11:52:29 AM5/5/09
to dev-pl...@lists.mozilla.org
On 5/5/09 8:36 AM, Benjamin Smedberg wrote:
> We'd like to get a list of all the places UI code (chrome) touches content
> DOM or JS. At this point we want to get a sense of how frequent this kind of
> access is, and what kinds of data it actually needs.
Does it really matter what we do? I mean, can't an extension touch
anything anywhere anyway? Do we plan to break that model then? (I'm
not trying to be stop-energyish, just trying to understand)

Cheers,

Shawn

Shawn Wilsher

unread,
May 5, 2009, 11:53:45 AM5/5/09
to dev-pl...@lists.mozilla.org, dev-pl...@lists.mozilla.org
(this was supposed to go to dev-platform. my bad)

On 5/5/09 8:52 AM, Shawn Wilsher wrote:
> On 5/5/09 8:36 AM, Benjamin Smedberg wrote:
>> We'd like to get a list of all the places UI code (chrome) touches
>> content
>> DOM or JS. At this point we want to get a sense of how frequent this
>> kind of
>> access is, and what kinds of data it actually needs.

David Bolter

unread,
May 5, 2009, 12:30:35 PM5/5/09
to Benjamin Smedberg, dev-pl...@lists.mozilla.org
Hey,

From a technical point of view, this is incredibly interesting. I would
like to discuss accessibility related issues. Currently most users of
our accessibility API are in-process, so what this means for
multi-process needs to be worked out. I think part of this conversation
will inevitably look beyond the phase of chrome/content separation.
Questions arise, like will the chrome process broker the information
from content(s)? Or do we want another model.

I don't know if it makes sense for me to be part of the core team, but I
want to be as much in the loop as possible.

cheers,
David

> _______________________________________________
> dev-planning mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-planning
>

0 new messages