On May 27, 12:46 am, Kenny YU <[EMAIL PROTECTED]> wrote:
> i have a question here...
>
> In AppShell, the execution calls LoadURI which then lead  into
> DocShell.... and in CreateContentViewer method of docshell, a content
> viewer (document viewer) is created. and Presshell and frames will
> then be associcated to this document viewer (as I understand).
>
> I suppose after an ContentViewer instance is created, HTML parsing
> process should follow... but what triggers the parsing to start? any
> listeners involved are triggered, for example...?

As far as I know, the loading phrase is a really very complex phrase.
The real network load start in the
uriload/nsURILoader.cpp file:

in the OpenURI mehthod.
rv = channel->AsyncOpen(loader, nsnull);

And this method is called from the nsDocShell loading method.

Good luck in hacking.

Regards!
Bo
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to