Closed Bug 2021681 Opened 5 months ago Closed 4 months ago

Page URL is displayed as tab name when page's <title> contains about:reader?

Categories

(Firefox :: Tabbed Browser, defect, P3)

Firefox 148
defect

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: goodvin, Assigned: smateen916)

Details

(Keywords: good-first-bug)

Attachments

(3 files)

Attached file test.html

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0

Steps to reproduce:

Open any page that has about:reader? text in its <title> tag. See attached test file or bug 1550144.

Actual results:

Instead of page's title, tab shows its URL and Windows taskbar shows no title at all. Tab Manager list shows only URL as well. See image below.

Expected results:

The content of the <title> tag should be shown on the current tab and everywhere else page title is displayed

This bug's tab title is missing too :)

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser
Severity: -- → S4
Priority: -- → P3

Looks like tabbrowser is being overly broad in what it considers to be a reader page: https://searchfox.org/firefox-main/source/browser/components/tabbrowser/content/tabbrowser.js#2196

A fix for this could include making this check more strict.

Keywords: good-first-bug

Hi, Wanted to try to work on this bug for my first fix if no one else is working on it.

Assignee: nobody → smateen916
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Hi Kelly, I saw your comment about the incorrect bug ID. I went ahead and fixed it and resubmitted. I might have done it wrong because it created a new submission rather than updating existing one.

https://phabricator.services.mozilla.com/D289378

Pushed by jsudiaman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e014172bc969 https://hg.mozilla.org/integration/autoland/rev/640075e8a488 Use precise regex to filter about:reader URLs in tab label ? r=tabbrowser-reviewers,jsudiaman
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
QA Whiteboard: [qa-triage-done-c152/b151]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: