Bug 16896 - Gmail never updates tab titles after chat window closes (Loading... bug)
Summary: Gmail never updates tab titles after chat window closes (Loading... bug)
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://www.gmail.com
Keywords: GoogleBug, HasReduction
: 17330 17438 17588 18073 18206 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-16 12:12 PST by Eric Seidel (no email)
Modified: 2022-08-19 18:27 PDT (History)
14 users (show)

See Also:


Attachments
An example where FF and Safari differ (288 bytes, text/html)
2008-01-16 12:13 PST, Eric Seidel (no email)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2008-01-16 12:12:52 PST
Gmail never updates tab titles after chat window closes

I think gmail is using:

document.title = "" to update the tab title after a chat window closes.  This is a NOOP in Safari, where as firefox resets the page to the default title.

HTML5 does specify the title behavior, I'm not sure either FF or Safari agree with the spec:
http://www.whatwg.org/specs/web-apps/current-work/#the-title0
Comment 1 Eric Seidel (no email) 2008-01-16 12:13:12 PST
Created attachment 18480 [details]
An example where FF and Safari differ
Comment 2 Alexey Proskuryakov 2008-01-16 12:13:55 PST
See also: <http://ln.hixie.ch/?count=1&start=1161121410>.
Comment 3 Eric Seidel (no email) 2008-01-28 15:52:47 PST
This is by far the most annoying bug in my day-to-day Safari usage. :(  Maybe that means I'll get to it this week. :)  Mostly we just need a comprehensive test.
Comment 4 Jim Bumgardner 2008-02-12 13:56:38 PST
*** Bug 17330 has been marked as a duplicate of this bug. ***
Comment 5 Jim Bumgardner 2008-02-12 13:58:21 PST
Note, there is a related symptom: When Gmail loads, the page title remains "Loading..." and doesn't reset to "Gmail - Inbox" as in other browsers.
Comment 6 Robert Blaut 2008-02-19 22:17:59 PST
*** Bug 17438 has been marked as a duplicate of this bug. ***
Comment 7 Robert Blaut 2008-02-19 22:22:12 PST
Updated summary to avoid duplicates.
Comment 8 Eric Seidel (no email) 2008-02-22 11:44:11 PST
I swear... this bug is gonna drive me to use FireFox for gmail...
Comment 9 Robert Blaut 2008-02-28 03:31:02 PST
*** Bug 17588 has been marked as a duplicate of this bug. ***
Comment 10 Robert Blaut 2008-03-25 11:32:16 PDT
*** Bug 18073 has been marked as a duplicate of this bug. ***
Comment 12 Robert Blaut 2008-03-29 05:53:04 PDT
*** Bug 18206 has been marked as a duplicate of this bug. ***
Comment 13 Ahmad Saleem 2022-08-11 10:04:04 PDT
Safari Technical Preview 150 pass all tests related to "document.title", is something else required here:

https://wpt.fyi/results/html?label=master&label=experimental&aligned&view=subtest&q=document%20title

From the attached test case, all browsers load (Chrome Canary 106, Firefox Nightly 105 and Safari 15.6 on macOS 12.5) - URL as title. Since all browsers are matching and I am not able to reproduce this bug also WPT has coverage around these test cases and Safari pass all of them. I am marking this as "RESOLVED CONFIGURATION CHANGED". Thanks!

Even the test case in Comment 11 has same output across all browsers and same DOM View.
Comment 14 Alexey Proskuryakov 2022-08-19 18:27:22 PDT
WPT wouldn't catch a Safari UI issue, so that's not a great confirmation. However, we haven't received reports of this any time recently, so this must have been fixed indeed.