Open Bug 1865516 Opened 2 years ago Updated 2 months ago

Visiting a Forum and change pages the title of Webpage in tasklist is not present

Categories

(Firefox for Android :: General, defect)

Firefox 126
Other
Android
defect

Tracking

()

Tracking Status
firefox125 --- affected
firefox126 --- affected

People

(Reporter: Wafer, Assigned: titouan)

References

Details

(Whiteboard: [qa-triaged])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/119.0 Firefox/119.0
Firefox for Android

Steps to reproduce:

Visiting a forum and changing the Page the title of the Page in the Tasklist is lost.

  1. Visit a multi-page post in a forum for example https://www.outdoorseiten.net/vb5/forum/tourenberichte/tourenberichte-d-a-ch/3125123-at-de-auf-e4-alpin-nordalpenweg-von-wien-bzw-vom-neusiedler-see-nach-bregenz/page6
  2. Go to an other page using the navigationbuttons below.
  3. Open Tasklist in Browser

Actual results:

The title of the page is not present. Instead of the title there is the URL of the page in the tasklist.

Expected results:

The correct pagetitle should be displayed.

Moving to mobile. If component is not correct please update. Thank you.

Component: Untriaged → General
OS: Unspecified → Android
Product: Firefox → Fenix
Hardware: Unspecified → Other
Component: General → Mobile
Product: Fenix → Web Compatibility
Assignee: nobody → tthibaud
Component: Mobile → General
Product: Web Compatibility → Fenix
Attached video title-bug.mp4

The bug can be reproduced with Amazon.com for example

Sharing the current state of my investigation:

The ContentStateReducer is called once with UpdateTitleAction, that set the right title to the state.

But it seems like, in the website impacted by the bug, the ContentStateReducer is called with UpdateUrlAction after it has been called with UpdateTitleAction.
As the URL has changed, the title is set to null here.

I'm not sure yet if the problem is the order in which the actions are passed to the reducer, or that some UpdateTitleAction are missing after the UpdateUrlAction happened.

I'll continue investigating next week.

See Also: → 1812856
See Also: → 1716315
Severity: -- → S3

https://www.outdoorseiten.net/vb5/js/footer-rollup-570.js Line: 2794 history.pushState(newState.id,newState.title,newState.url);

See Also: → 1843682

(In reply to Titouan Thibaud [:tthibaud] from comment #3)

Sharing the current state of my investigation:

The ContentStateReducer is called once with UpdateTitleAction, that set the right title to the state.

But it seems like, in the website impacted by the bug, the ContentStateReducer is called with UpdateUrlAction after it has been called with UpdateTitleAction.
As the URL has changed, the title is set to null here.

I'm not sure yet if the problem is the order in which the actions are passed to the reducer, or that some UpdateTitleAction are missing after the UpdateUrlAction happened.

I'll continue investigating next week.

If you're interested in this bug . I have some comments FYI. See: https://bugzilla.mozilla.org/show_bug.cgi?id=1843682#c4 and https://bugzilla.mozilla.org/show_bug.cgi?id=1843682#c1.

See Also: → 1868806
See Also: → 1812833

I'll confirm this issue on all three versions: Nightly 126.0a1 from 4/12, Beta 125.0b9, and RC 124.2.0, RC 125.0.
Tested with Xiaomi mi8 Lite (Android 10), and Google Pixel 6 (Android 14).

Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [qa-triaged]
Version: Firefox 119 → Firefox 126
See Also: → 1821579
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: