Open Bug 1401091 Opened 3 years ago Updated 2 months ago

Title of new tab not updated after redirect or location.replace when target page has no <title>

Categories

(Firefox :: Tabbed Browser, defect, P3)

55 Branch
defect

Tracking

()

Tracking Status
firefox-esr52 --- unaffected
firefox55 --- wontfix
firefox56 --- wontfix
firefox57 + wontfix
firefox58 --- wontfix
firefox59 --- ?

People

(Reporter: lilydjwg, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20170917100334

Steps to reproduce:

open https://www.google.com/ and search for a txt link (e.g. https://www.kernel.org/doc/Documentation/vm/transhuge.txt)

middle click that link to have it open in a new tab


Actual results:

The title of that tab says "google.com/url?sa=...".


Expected results:

The title of that tab should say "kernel.org/doc/...".
Regression range:
https://hg.mozilla.org/integration/autoland/rev/9f3f63f8acb7
Blocks: 1364127
Status: UNCONFIRMED → NEW
Has Regression Range: --- → yes
Has STR: --- → yes
Component: Untriaged → Tabbed Browser
Ever confirmed: true
Keywords: regression
Version: 57 Branch → 55 Branch
[Tracking Requested - why for this release]:
Regression of primary UI behaviour.
ni dao as assignee for bug 1364127
Flags: needinfo?(dao+bmo)
Duplicate of this bug: 1402222
Summary: Title of new tab not updated after redirection from Google Search → Title of new tab not updated after redirect when target page has no <title>
Duplicate of this bug: 1402652
The title says kernel.org/doc/Documentation/vm/transhuge.txt for me in 58 with the STR in comment 0. 
Andrei, can your team still reproduce or does this look fixed to you too?
In any case, not a new regression, and I don't think we would uplift anything to 57 here.
Flags: needinfo?(andrei.vaida)
Attached image Nightly 58.png
Hi Liz!

I can still reproduce the issue mentioned in comment 0 using Firefox 58.0a1 (BuildId:20171009220104) on Windows 10 64bit, macOS 10.11.6 and Ubuntu 16.04 64bit.
Flags: needinfo?(andrei.vaida)
Priority: -- → P3
See Also: → 1394188
Curiously, the incorrect tab title survives Ctrl+R, Ctrl+Shift+R, and even clicking the URL bar and hitting Enter.

Conversely, there's no problem when you open the link in a new window.

Still affects Firefox 61.
Duplicate of this bug: 1479905
Duplicate of this bug: 1515791
Summary: Title of new tab not updated after redirect when target page has no <title> → Title of new tab not updated after redirect or location.replace when target page has no <title>
Duplicate of this bug: 1519691
Duplicate of this bug: 1521790
Duplicate of this bug: 1534621
See Also: → 1646503
You need to log in before you can comment on or make changes to this bug.