Closed
Bug 1129087
Opened 10 years ago
Closed 9 years ago
Gmail redirects are very slow
Categories
(Firefox for iOS :: Browser, defect)
Tracking
()
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
fxios | - | --- |
People
(Reporter: bnicholson, Unassigned)
References
Details
STR: Go to gmail.com and sign in. It takes multiple redirects, where each redirect takes at least a second or two, taking longer than expected to load. Safari doesn't have this problem.
Comment 1•10 years ago
|
||
My guess is that this is happening because GMail is trying some fallback scenarios for APIs that it needs. The WebView does not support all the APIs that Safari has and I think that is why it redirects through two or three different versions of the mobile GMail code.
One thing that may be missing or not fully implemented in the WebView is window.applicationCache for example. (This is a hunch, because I see window.applicationCache is set to UNCACHED)
Comment 2•10 years ago
|
||
Also, if it was not clear, I think these issues are very GMail application specific and not related to redirects at all. Setting window.location from the console results in an instant redirect.
Comment 3•10 years ago
|
||
I also ruled out things in our app that possibly slow down redirects. I ran the app with the following disabled:
* Reader Mode / User Scripts
* Navigation Delegate
* UI Delegate
* KVO
Which made no difference.
To completely rule out our code I wrote a minimal iOS app with just a WKWebView: the slow redirects also happen there.
Comment 4•10 years ago
|
||
UIWebView is much faster.
This is the redirect path taken from webView:shouldStartLoadWithRequest:navigationType:
https://gmail.com/
https://mail.google.com/mail/
https://mail.google.com/mail/u/0/
https://mail.google.com/mail/u/0/x/8qe2vyjb3zls-/?f=1
https://mail.google.com/mail/mu/
https://mail.google.com/mail/mu/mp/995/
about:blank
https://mail.google.com/mail/mu/mp/995/#tl/Inbox
about:blank
(About blank is probably because some frame magic that GMail does)
Updated•10 years ago
|
Blocks: iosbrowsingui
Updated•9 years ago
|
tracking-fxios:
--- → ?
Comment 5•9 years ago
|
||
This needs to be tested on iOS9 to find out if this is a WebView issue or a gmail issue.
Comment 6•9 years ago
|
||
I think there's nothing we can do here. Might be fixed in iOS9?
You need to log in
before you can comment on or make changes to this bug.
Description
•