[scriptable, uuid(09fecea6-5453-43ba-bf91-3ff32618f037)]
Attributes
attribute to set and get the cache key for the entry */
attribute to indicate the content-type of the document that this is a session history entry for
Content viewer, for fast restoration of presentation */
attribute to indicate whether the page is already expired in cache */
LayoutHistoryState for scroll position and form values */
The loadType for this entry. This is typically loadHistory except when reload is pressed, it has the appropriate reload flag
Get the owner, if any, that was associated with the channel that the document that was loaded to create this history entry came from.
pageIdentifier is an integer that should be the same for two entries attached to the same docshell only if the two entries are entries for the same page in the sense that one could go from the state represented by one to the state represented by the other simply by scrolling (so the entries are separated by an anchor traversal or a subframe navigation in some other frame).
parent of this entry */
Post Data for the document */
Referrer URI */
Saved refresh URI list for the content viewer */
attribute to indicate whether layoutHistoryState should be saved */
Saved state of the global window object */
Methods
Saved child docshells corresponding to contentViewer. The child shells are restored as children of the parent docshell, in this order, when the parent docshell restores a saved presentation. Append a child shell to the end of our list. */
Get the child shell at |index|; returns null if |index| is out of bounds.
Additional ways to create an entry */
[noscript]
void
create(in nsIURI URI, in AString title, in nsIInputStream inputStream, in nsILayoutHistoryState layoutHistoryState, in nsISupports cacheKey, in ACString contentType, in nsISupports owner)
Gets the owning pointer to the editor data assosicated with this shistory entry. This forgets its pointer, so free it when you're done.
Return any content viewer present in or below this node in the
nsSHEntry tree. This will differ from contentViewer in the case
where a child nsSHEntry has the content viewer for this tree. */
Saved position and dimensions of the content viewer; we must adjust the root view's widget accordingly if this has changed when the presentation is restored.
Returns true if this shistory entry is storing a detached editor. */
Sets the owning pointer to the editor data assosicated with this shistory entry. Unless forgetEditorData() is called, this shentry will destroy the editor data when it's destroyed.
Attribute that indicates if this entry is for a subframe navigation */
URI for the document */
Compare to: