mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
2c8f84716d
This enables navigating by index in session history go through the session history in the parent (if enabled with the pref). If the pref is enabled, then ChildSHistory::Go will send an IPC message to the parent with the index to navigate to. The parent calls the existing nsSHistory implementation and starts the loads, and asynchronously returns the index that we actually navigated to. The child process then uses that result to update the session history implementation in the child process (this part is temporary, while we have session history both in parent and in child). We also make the parent send an updated length to the child process over IPC, so that history.length always the length for the implementation in the parent. Differential Revision: https://phabricator.services.mozilla.com/D65330 |
||
---|---|---|
.. | ||
base | ||
build | ||
resources/content | ||
shistory | ||
test | ||
moz.build |