Described is a method and system by which document servers/applications
(document objects) hosted by the browser may integrate with the browser's
travel log. As a result, the user can use browser navigation commands,
particularly forward and back commands, as well as a drop-down list of
entries, to navigate among a hosted document's pages. Integration also
allows the document object to add travel entries, persist relevant state,
delete travel entries and update existing travel entries with new state.
The browser and document object may communicate to update the browser's
address bar, and to communicate various navigation events to keep each
other synchronized. In one implementation, the browser limits navigation
to top-level travel entries and the sub-navigation entries of the
currently hosted document object, by filtering out sub-navigation entries
that do not correspond to the currently-hosted document object. Frames no
longer valid are also filtered from those available for navigation.