Electrolysis/places that need session history

From MozillaWiki
Jump to navigation Jump to search

Places that need session history

This planning document is preparatory work for task "Session history for remote tabs" in [1]. It lists all the places that need (read / write) session history.

all the following objects make use of session history (or session history listener) in a certain way. For each of them, nsISHistory usage is detailled and links to code are provided.

NOTE: This list DOES NOT contain places that are part of /test subdirectories.


Places using Session History

WebNavigation interface || attribute sessionHistory ||

CCUncollectableMarker component || nsComPtr history ||

DocShell component || nsComPtr shistory & rootSH ||

SHEntry Component || QI for nsISHistoryInternal ||

EmbedPrivate Component || public member mSessionHistory ||

WebBrowser Component || adds/removes SHistory listeners ||

DocumentViewer Component || QI for nsISHistoryInternal ||

broswer-places.js || call .history member ||

browser.js || .sessionHistory & .history ||

web-panels.js || .sessionHistory & .history ||

bookmarkProperties.js || .history ||

controller.js || .history ||

editBookmarkOverlay.js || .history ||

history-panel.js || .history ||

places.js || .history ||

utils.js || .history ||

nsPlacesTransactionsService.js || .history ||

nsSessionStore.js || .history ||

fuelApplication.js || .history ||

help.js || .history ||

nsLoginManagerPrompter.js || .history ||

contentAreaUtils.js || .history ||


Places using Session History Listener

SHistoryInternal interface || attribute listener ||

DocShell || nsComPtr listener||

WebBrowser || QI for nsISHistoryListener ||

WebBrowserChrome || derives from nsISHistoryListener ||


Other places

FrameLoader || nsComPtr ourHistory || nsFrameLoader.cpp

  • but it does NOT yet do anything useful with it. Take a look.