Closed Bug 960711 Opened 11 years ago Closed 11 years ago

When directly opening URL that's in browser.newtab.url, tab title says New Tab if the page has no title (even after a normal page)

Categories

(Firefox :: Tabbed Browser, defect)

24 Branch
x86_64
All
defect
Not set
minor

Tracking

()

RESOLVED WONTFIX

People

(Reporter: NotR, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release) Build ID: 20131021230807 Steps to reproduce: browser.newtab.url is set to file:///c:/gsk/home.html home.html has no <title> tag Open some other file in a new tab, and then open home.html in that tab. Actual results: The tab title now says "New Tab" even though home.html was not the first file displayed in that tab. This can make it hard to find a tab where another page was opened, in order to go back in the history to that page. Expected results: The tab title should be the URL, the same as when any other new page without a title is opened in an existing tab. It should be "New Tab" only when on the first page in the tab's history.
Whiteboard: [triage] [defect] p=0
Reproduced with 2014-01-20-03-02-02-mozilla-central-firefox-29.0a1.en-US.linux-x86_64.
Blocks: 455553
Severity: normal → minor
Status: UNCONFIRMED → NEW
Component: Untriaged → Tabbed Browser
Ever confirmed: true
OS: Windows 7 → All
Summary: tab title erroneously says New Tab when page has no title → When directly opening URL that's in browser.newtab.url, tab title says New Tab if the page has no title (even after a normal page)
Whiteboard: [triage] [defect] p=0 → [triage] [defect] p=0[bugday-20140120]
It's debatable whether this is really a bug. I don't think we want to complicate the code to change behavior here.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Why complicate? Simplify. Just ignore the URL entirely, and use the same history information that's used to deactivate the Back button. If the back button is active, this isn't a new tab.
(In reply to Glenn Knickerbocker from comment #3) > Why complicate? Simplify. Just ignore the URL entirely, and use the same > history information that's used to deactivate the Back button. If the back > button is active, this isn't a new tab. Are you speculating here or did you actually look how this code works?
No longer blocks: fxdesktopbacklog
Whiteboard: [triage] [defect] p=0[bugday-20140120]
You need to log in before you can comment on or make changes to this bug.