Hi Rob,

Thanks for replying.  But even for a blank page, there are a few
StartDocumentLoad involved.  Why so?  Also, I tested google.com, whose
source HTML code only shows one single <iframe>, but still has
multiple StartDocumentLoads got called.  Why so?  Thanks!

On Jan 2, 6:57 pm, "Robert O'Callahan" <[email protected]> wrote:
> On Tue, Jan 3, 2012 at 9:20 AM, Yuhao <[email protected]> wrote:
> > I am not exactly sure if this post fits in this group.  I assume
> > StartDocumentLoad is sort of the start function of loading a page. But
> > I saw this function got called multiple times when loading one single
> > web page. The more complex the web site is, the more time it gets
> > called. I am just wondering if it is true that this function is not
> > for the entire page, but each separate component (or region) in that
> > page needs its own StartDocumentLoad?
>
> Each <iframe> has its own document and therefore its own StartDocumentLoad.
>
> Rob
> --
> "If we claim to be without sin, we deceive ourselves and the truth is not
> in us. If we confess our sins, he is faithful and just and will forgive us
> our sins and purify us from all unrighteousness. If we claim we have not
> sinned, we make him out to be a liar and his word is not in us." [1 John
> 1:8-10]

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

Reply via email to