Bug 64111 - Loading icon shows for long initial connections
Summary: Loading icon shows for long initial connections
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: https://mail.google.com/mail/ca
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-07 11:15 PDT by jaredharley
Modified: 2019-05-02 16:20 PDT (History)
2 users (show)

See Also:


Attachments
Screenshot of inspector (77.27 KB, image/png)
2011-07-07 11:15 PDT, jaredharley
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jaredharley 2011-07-07 11:15:22 PDT
Created attachment 100009 [details]
Screenshot of inspector

I was asked to file this bug from my Chromium bug report 86232: http://code.google.com/p/chromium/issues/detail?id=86232

I initially reported the bug on Chrome 13.0.782.20 (Official Build 88803) dev-m. It is still occurring today with

Google Chrome	14.0.803.0 (Official Build 90483) dev-m
OS	Windows
WebKit	535.1 (trunk@89703)

Essentially, Gmail is showing a loading icon rather than the favicon on the tab while it maintains it's first BIND connection (I think this is how it watches for new mail). Once the first connection is closed (usually 3-4 minutes), the loading icon goes away and the favicon is shown. I think the browser believes that the page is still trying to load based on the open connection.

It was also discussed on the webapps StackExchange site: http://webapps.stackexchange.com/q/16235/78

Original bug report:
-----------------------
What steps will reproduce the problem?
1. Navigate to Gmail

What is the expected result?
The loading icon should stop and become the favicon once the page is loaded.

What happens instead?
Loading icon in tab continues to show after the page is already loaded. Gmail icon will show after approximately 3-4 minutes

Please provide any additional information below. Attach a screenshot if possible.
I believe this problem is due to the fact that Gmail opens a "bind" connection to check for new mail, and that the connection isn't closed for 3-4 minutes, so Chrome shows the tab as loading for that time frame. Once that bind connection is closed, the loading graphic disappears and Gmail icon shows up. Developers have seen the same behavior using this technique for server push - see http://webapps.stackexchange.com/questions/16235/gmail-is-taking-forever-to-load-in-chrome-why-is-this-happening/16278#16278

Attached is the network activity screenshot for Gmail when first loading it, and you can see the 3.6 minute bind connection that I think is causing the loading graphic to stay showing until the first bind connection is closed.
-----------------------