Stephen Kellett wrote:
That raises the question: When I do View Page Source from the View menu or the context menu how does it get the page source to display in the window?
It looks in the cache. If it's not in the cache, it gets it from the network. There are some complications if POST data is involved, of course.
All I want to do is that. I don't know how to do that. Either it is refetched or it is in a local page-cache managed by Mozilla. I don't care where it is, just how to fetch it.
Unfortunately, the APIs for doing that are not really exposed... You'd have to effectively do what nsDocShell::LoadHistoryEntry does.
-Boris _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
