mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
ac14326b20
This copies the approach we've taken for form data saving and applies it to recording the current scroll position of the page, too. This means that after receiving a scroll event, we capture the scroll position for the top level document and all direct child frames and include it in the session store data. Because compared to the form data input events the scroll event can fire at a relatively high rate, we throttle the scroll position capturing using timeouts to run at most twice per second. MozReview-Commit-ID: C0lBxzHav7Z --HG-- extra : rebase_source : 325c0f92ce003ea9026e3206b4bb101db1f037a7 |
||
---|---|---|
.. | ||
android | ||
locales |