Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[navigation API] Fix flaky scroll restoration test
after-transition-intercept-handler-modifies.html sometimes fails because the scroll restoration is being overridden if the layout changes from the previous same document navigation have not yet been applied. This becomes more consistent when same document navigation IPCs are prioritized (see crrev.com/c/4981177). This CL changes the test to ensure rendering happens between the forward and back navigations, which in turn ensures the new layout and scroll position were updated before navigating back. Bug: 1042118 Change-Id: Ia6a3768f8780f9ddaff80f7fd877ddca5c6184b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5080962 Commit-Queue: Scott Haseley <[email protected]> Reviewed-by: Nate Chapin <[email protected]> Cr-Commit-Position: refs/heads/main@{#1232997}
- Loading branch information