gecko-dev/testing
Scott Haseley 16977c058d Bug 1867900 [wpt PR 43487] - [navigation API] Fix flaky scroll restoration test, a=testonly
Automatic update from web-platform-tests
[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 <shaseley@chromium.org>
Reviewed-by: Nate Chapin <japhet@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232997}

--

wpt-commits: ff2032f656cec2aa3904e6270925f3fd1306371a
wpt-pr: 43487
2023-12-14 09:31:20 +00:00
..
awsy
condprofile
config
crashtest
docs
extensions
firefox-ui
geckodriver
gtest
jsshell
marionette
mochitest
modules
mozbase
mozharness
perfdocs
performance
profiles
raptor
runtimes
specialpowers
talos
test
tools
tps
web-platform Bug 1867900 [wpt PR 43487] - [navigation API] Fix flaky scroll restoration test, a=testonly 2023-12-14 09:31:20 +00:00
webcompat
webdriver
xpcshell
addtest.py
cppunittest.ini
mach_commands.py
moz.build
parse_build_tests_ccov.py
README.txt
remotecppunittests.py
runcppunittests.py
skipfails.py
testinfo.py
testsuite-targets.mk

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff