gecko-dev/testing/web-platform
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
..
docs
meta Bug 1867757 [wpt PR 43470] - Update wpt metadata, a=testonly 2023-12-14 09:31:20 +00:00
mozilla Bug 1869481 - Update WebGPU CTS test expectations. r=webgpu-reviewers,ErichDonGubler 2023-12-13 13:08:58 +00:00
outbound
products
tests Bug 1867900 [wpt PR 43487] - [navigation API] Fix flaky scroll restoration test, a=testonly 2023-12-14 09:31:20 +00:00
update
fissionregressions.py Bug 1865645 - drop Windows service pack support from mozinfo.py. r=jmaher,jgraham 2023-11-20 15:26:20 +00:00
interop.py
mach_commands_base.py
mach_commands.py Bug 1834782 - Add WPT root directory into system path for wpt-serve r=jgraham 2023-11-22 15:49:36 +00:00
mach_test_package_commands.py
manifestdownload.py
manifestupdate.py
metamerge.py
metasummary.py
moz.build Bug 1869430 - Batch 19.2 convert python unittest .ini -> .toml. r=gbrown,taskgraph-reviewers 2023-12-12 17:40:03 +00:00
python.toml Bug 1869430 - Batch 19.2 convert python unittest .ini -> .toml. r=gbrown,taskgraph-reviewers 2023-12-12 17:40:03 +00:00
runtests.py
test_metamerge.py
unittestrunner.py
vcs.py
wptrunner.ini