Closed Bug 1529487 Opened 6 years ago Closed 5 years ago

Lost scroll position when navigation back on certain site

Categories

(Web Compatibility :: Site Reports, defect)

x86_64
All
defect
Not set
normal

Tracking

(firefox-esr60 wontfix, firefox65 wontfix, firefox66 wontfix, firefox67 fix-optional, firefox68 fix-optional)

RESOLVED INVALID
Tracking Status
firefox-esr60 --- wontfix
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- fix-optional
firefox68 --- fix-optional

People

(Reporter: alice0775, Unassigned)

References

()

Details

(Keywords: regression)

This is a regression since Firefox 55.

Reproducible: always

Steps To Reproduce:

  1. Open https://ttlc.intuit.com/
  2. Scroll down
  3. Click any link incl. bookmarks
  4. Click Back button in nav bar

Actual Results:
Page scrolls to top

Expected results:
Scroll position should be previous position as Chrome and Firefox 52ESR

This seems the site problem.

UA spoofing to "Mozilla/5.0 (Windows NT 10.0; Win64; rv:54.0) Gecko/20100101 Firefox/54.0" seems to fix on Nightly67.0a1(with patch of Bug 1436906).

Depends on: 1436906

The site has a Firefox hack for the top page.
I think this is no longer required after landing patch of Bug 1436906.

See https://dqjghx1vau0u.cloudfront.net/assets/firefoxpatch-ebffcc18546a4f2f813a9836fb61e8097db7b7668d1da4e69a9b667f1e27d237.js

'undefined' == typeof window && window || (window.onload = function () {
var t,
e;
'undefined' == typeof navigator && navigator || (e = navigator.userAgent, e.toLowerCase().indexOf('firefox') > - 1 && (t = e.match(/Firefox/([0-9]+)./), t && parseInt(t[1]) > 54 && window.scrollTo(0, 0)))
});

I can confirm the behavior mentioned in comment 0, on all Firefox latest versions, across OS-es (Windows 10, Ubuntu 18.04 and Mac OS 10.14).
This seems to be an old issue as mentioned, possibly dating back 9 years ( bug 575612 NOT CONFIRMED ) or at least 4 years when a similar report was filed - bug 1123161 .

Component: Untriaged → Document Navigation
OS: Windows 10 → All
Product: Firefox → Core
Version: 55 Branch → Trunk
Component: Document Navigation → Desktop
Product: Core → Web Compatibility

This seems to be invalid.
It doesn't reproduce on Firefox Nightly 72 on a fresh profile.
and the script seems to have disappeared too.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.