-
Notifications
You must be signed in to change notification settings - Fork 868
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update entry cache in DidFinishNavigation()
Previously we were persisting the SpeedreaderExtendedInfoHandler data to the NavigationEntry in OnDistillComplete(). Since OnDistillComplete() is called by the throttle, the navigation entry might not be persisted yet, so the behavior is not defined. On backward navigations we would sometimes persist to the previous navigation entry, causing bugs where pages would incorrectly show up as readable. Since we wait for DidFinishNavigation, we can safely get the last committed navgiation entry.
- Loading branch information
Kevin Kuehler
committed
Sep 2, 2021
1 parent
bef2502
commit 1a34c05
Showing
3 changed files
with
11 additions
and
6 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
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
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