зеркало из https://github.com/mozilla/gecko-dev.git
cd000ebc03
Instead of using SessionStateAggregator.js send() to collect history data and send the event StateUpdated to the app, the new GeckoViewSessionStore is used. It is enabled when fission is true and initialized by GeckoViewStartup when Services.appinfo.sessionHistoryInParent is true. It will observe two existing topics: browsing-context-did-set-embedder, which creates the history listener, and browsing-context-discarded, which unregisters it. When the history listener is created, it will collect history from the parent. It will only collect data when the current uri is not “about:blank” and when the history count is greater than 0. It uses SessionHistory’s collectFromParent. The new code path was manually confirmed by debugging the app history delegate to see that the state map contains all the history data. Differential Revision: https://phabricator.services.mozilla.com/D150020 |
||
---|---|---|
.. | ||
android | ||
locales | ||
.eslintrc.js |