Open Bug 1809566 Opened 2 years ago Updated 2 years ago

Reload causes searchfox's scroll position to be lost, if you're using Chrome

Categories

(Webtools :: Searchfox, defect)

defect

Tracking

(Not tracked)

People

(Reporter: dholbert, Unassigned)

References

Details

[cloning/spinning this off from bug 1725697, for an issue I discovered while testing that bug just now]

STR:

  1. Using Google Chrome, visit https://searchfox.org/mozilla-central/rev/a156a65ced2dae5913ae35a68e9445b8ee7ca457/layout/base/nsPresContext.cpp
  2. Scroll down as far as you like.
  3. Reload (Ctrl+R)

ACTUAL RESULTS:
Scroll position gets reset to the top of the page.

EXPECTED RESULTS:
Scroll position should be preserved through the reload.

Firefox gives EXPECTED RESULTS (though see also bug 1725697 comment 4).
Also: if you use a simpler page like e.g. https://wiki.mozilla.org/Release_Management/Calendar , you get EXPECTED RESULTS.

(Not sure if this is a Chrome bug or a Searchfox bug. Filing as a searchfox bug to start.)

OS: Ubuntu 22.04
Chrome version: 110.0.5478.4 (Official Build) dev (64-bit)

You need to log in before you can comment on or make changes to this bug.