On Mon, Oct 1, 2012 at 7:25 AM, Henri Sivonen <hsivo...@iki.fi> wrote:
> Do we have an object that represents the life of a document load from
> the very beginning of deciding to load a URL in a browsing context to
> the firing of the load event?
>
> nsIChannel/nsIRequest is not it, because it only lasts until the end
> of the network stream after which point there's still time to the
> completion to the parse after which there is still time to the firing
> of the load event.

I thought we held on to the nsIChannel for as long as the nsDocument
was alive. See mChannel.

But it might still not be what you're looking for since we create a
new nsIChannel on each redirect.

/ Jonas
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to