Add a new Entry to the History List
aEntry | - The entry to add |
aPersist | - If true this specifies that the entry should persist in the list. If false, this means that when new entries are added this element will not appear in the session history list. |
Update the index maintained by sessionHistory
Replace the nsISHEntry at a particular index
aIndex | - The index at which the entry should be replaced |
aReplaceEntry | - The replacement entry for the index. |
Notifies all registered session history listeners about an impending
reload.
aReloadURI | The URI of the document to be reloaded. |
aReloadFlags | Flags that indicate how the document is to be refreshed. See constants on the nsIWebNavigation interface. |
Whether the operation can proceed. |
Evict content viewers which don’t lie in the “safe” range around aIndex.
In practice, this should leave us with no more than gHistoryMaxViewers
viewers associated with this SHistory object.
Also make sure that the total number of content viewers in all windows is
not greater than our global max; if it is, evict viewers as appropriate.
aIndex | - The index around which the "safe" range is centered. In general, if you just navigated the history, aIndex should be the index history was navigated to. |
Evict the content viewer associated with a bfcache entry
that has timed out.
Evict all the content viewers in this session history
Removes entries from the history if their docshellID is in
aIDs array.
Get the root transaction
The toplevel docshell object to which this SHistory object belongs to.