forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
6 changed files
with
529 additions
and
374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.