Unable to download attachments from gmail |
|||||||||||||||||||||
Issue descriptionApp Version: 58.0.3029.64 beta iOS Version: 10.3, 10.2 Device: iPhone7, iPad pro URL: mail.google.com Precondition: Have a testaccount that has any downloadable attachments in gmail Steps to reproduce: 1. Launch Google Chrome 2. Navigate to mail.google.com and sign in with any account 3. Open the email that contains downloadable attachments 4. Download the attachment Observed results: Sometimes, a new tab opened with about:blank and a progress bar visible with 100% progress forever. OR, new tab again redirects back to mail.google.com Expected results: Download manager should be displayed. Note: WKWebView is not allowing to tap links, so not able to reproduce there. Firefox doesn't support downloads yet, Working fine Safari. If you clear browsing data and freshly signin, then Download manager is sometimes displayed, but then if the app is killed and restarted, the problem appears again. This is reproduced in M57 as well. Number of times you were able to reproduce: 5/5 Bug reproducible after clean install: Yes Bug reproducible after clearing cache and cookies: Yes Bug reproducible on Chrome Mobile on Android: NA Bug reproducible on Safari/Firefox: Firefox: Not supported, Safari: NO Bug reproducible on current stable build (App Version, iOS Version): M57 Yes Bug reproducible on the current beta channel build (App Version, iOS Version): M58 Yes Link to video/image: https://drive.google.com/file/d/0B-xmXLQhjeKuQkV3YXUxSzdocm8/view *** Please don't request access for these videos, these are test accounts for team access only*** I will try to upload public videos if I can. Thanks!
,
Apr 8 2017
Do you know if this was broken ever since we moved to WKWebView?
,
Apr 8 2017
Atleast it is working on very first try with very first installations. Once I restart chrome, it stoped working. Attached is the video where I can see the download manager working for the same test account and same files. It looks like working case is a bit hard to reproduce than non-working case! https://drive.google.com/a/google.com/file/d/0B-xmXLQhjeKuclM0dFNIZzZQbUE/view?usp=sharing
,
Apr 8 2017
,
Apr 10 2017
What I mean to say is, was it broken in M57 or M56?
,
Apr 20 2017
Reproduced in M56 also.
,
Nov 2 2017
,
Dec 21 2017
Reassigning my bugs.
,
Dec 22 2017
Looked at this one a bit more. Not clear to me that the failure is that there is no cookie available. I would expect the failure to occur during the download, but here, the download manager is never triggered. I did some breakpoint investigation in web controller, and found that the initial page is HTML. It then goes through a variety of redirects/loads/authentication challenges (which typically fail), before either terminating the load or redirecting back to the gmail mail screen. This case is one to consider for the new download manager, as decidePolicyForNavigationResponse is never called for the redirected loads which may include the attachment. Marking as available, since not high priority.
,
Mar 5 2018
Verified in: App Version: 66.0.3359.0 canary Devices: iPhone 7, iPad Air, iPhone 8 Plus iOS Versions: 11.2.6, 11.3 beta 3 Issue is still reproducible. Tapping on attachment in gmail, opens up a new tab with about:blank instead of displaying download manager. Video: https://drive.google.com/open?id=12B-FQvR8l5RY0TDT_-jrigskMlClWSY2
,
Mar 5 2018
There are probably more bugs in this area than just cookie issue. Subhashini, could you please try enabling #new-file-download and retesting again.
,
Mar 6 2018
@eugene, I tried enabling #new-file-download flag, it seems to be working fine only once - redirects to download manager later on, it opens up new tab again redirects back to mail.gmail.com Video: https://drive.google.com/open?id=1fvlzenvwDhBRSvNi7F80jSw8erUi1BA1
,
Mar 6 2018
Video from comment #14 looks like a bug in Gmail. GMail does the redirect.
,
Mar 19 2018
,
Mar 22 2018
Should this bug be RBS for M66? As per the new feature WKHTTPCookieStore (http://crbug/813178) going out in M66 and the launch bug mentions that authenticated downloads should be working.
,
Mar 22 2018
,
Mar 22 2018
Is this bug reproducible with Safari User Agent?
,
Mar 22 2018
Yes
,
Mar 22 2018
Even signed in downloads from other sites like GoogleDrive (http://crbug/417003), Dropbox.com not working. Are these downloads expected tobe working with this feature enabled on iOS11?
,
Mar 22 2018
Yes, we expect that download from drop box works in M66. Could you please try with M67 and new download manager?
,
Mar 22 2018
Downloads are working fine in M67 with the new Download manager. (Tested on gmail, dropbox, google drive)
,
Mar 26 2018
,
Mar 29 2018
,
Apr 20 2018
I understand that with the new download manager, this is not related to cookies any more. I'll be fixing it anyway But it's actually not going to be used for this bug. I'll assign this to eugene as it's pending download manager launch.
,
Apr 20 2018
,
Apr 23 2018
Not an RBS. This is not a regression and will be fixed in New Download Manager.
,
May 4 2018
,
May 14 2018
,
May 30 2018
,
Aug 10
,
Sep 19
Verified in 70.0.3538.22 Beta Devices: iPhone 7(iOS 10.3.3), iPhone7(iOS 11.4.1), iPhone 6s plus(iOS 12 GM), iPad Air(iOS 11.4.1) Download attachments works fine in Gmail, Dropdown, Google drive. Note: gmail still behaves as mentioned in comment #14 and #15 i.e. on downloading same file multiple times download manager start redirecting back to mail.google.com Link to video: https://drive.google.com/file/d/1fyefQpTkQEClsUsSNC5JuhMnHp_yQ_g-/view?usp=sharing |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by eugene...@chromium.org
, Apr 8 2017Status: Assigned (was: Untriaged)