Re: E10s architecture

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 10/20/09 9:31 AM, Benjamin Smedberg wrote:
> Not a firm one, no. I thought briefly about whether we should have a "remote
> docshell" interface which would unify the local and remote browser APIs, but
> I haven't gone through enough of the API to decide what's best. bz may have
> thoughts too.

Having a unified API is in fact tempting (and imo desirable). 
nsIWebNavigation might be a good start... except for the nsIInputStream 
and nsIDOMDocument and so forth stuff on it.

> Long-term, I'd strongly prefer an interface shared for both local and remote
> iframes, but in order to get fennec demos up short-term I don't think that's
> necessary or realistic.

Agreed.

> * nsIWebProgressListener.onStateChange and .onLocationChange. I don't need
> the nsIRequest, just the flags/status. I don't know how we want to deal with
> the nsIURI aLocation: for now we've just been passing URIs as strings, which
> is probably sufficient for now but may be a pain later.

In particular, for some of our URIs that might not be good enough 
depending on what you want to do with them....

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.