Hevvy wrote:
My question is that, I can't render the pages with iframes correctly.
It seems the result is just one of the sub-frameset but the main frame.
Does the docshell/presShell I get from nsIWebProgress not the one of main
frame? (I mean each sub frame can create one aProgress, right?)

Yes. aProgress is the docshell instance in which the load has started or finished.

If thus, How can I get the correct presShell?

You have the nsIWebNavigation you started the load on, right? Can you not just get the information you need from it?

-Boris
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to