gecko-dev/mobile
Agi Sferro e652bcab53 Bug 1754607 - Make sure autofill session is reset after navigation. r=owlish
With Fission, `pageshow` and `pagehide` are not guaranteed to happen in order,
e.g. we might get the following order of events:

pageshow -- navigate to example.org
pageshow -- navigate to google.com
pagehide -- example.org is now hidden

which would break the previous assumption that we could rely on the order of
show and hide events.

To handle that, we keep track of the most-recent-added session and we assume
that that is the session bening displayed.

In the future, we might consider keeping state of all sessions until a
`pagehide` event for the specific session arrives.

Differential Revision: https://phabricator.services.mozilla.com/D143961
2022-05-17 01:34:44 +00:00
..
android Bug 1754607 - Make sure autofill session is reset after navigation. r=owlish 2022-05-17 01:34:44 +00:00
locales Bug 1733497 - Remove region.properties. r=geckoview-reviewers,m_kato,flod 2022-01-13 21:18:30 +00:00
.eslintrc.js