New issue
Advanced search Search tips

Issue 618959 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

[Chrome][Android6.0.1][51.0.2704.77] Download policy request (download via DownloadManager or download via Chrome)

Reported by seiyon.p...@gmail.com, Jun 10 2016

Issue description

Steps to reproduce the problem:
1. Precondition : Chrome 51.0.2704.77
2. Launch Chrome
3. Connect to "http://125.141.31.138/w/@LGE-TEST/download/oma-download.html"
4. Click link (Content is downloaded via DownloadManager)
5. Touch and hold the link to choose 'Save Link' (Chrome crashes)
6. Launch Chrome again
7. Connect to "http://125.141.31.138/w/@LGE-TEST/download/oma-download.html" again.
8. Click link (Content is downloaded via Chrome itself)

What is the expected behavior?
Contents should be downloaded via DownloadManager.

What went wrong?
Download policy is not consistent.
Normally contents are downloaded via DownloadManager.
But once Chrome crashes, contents are downloaded via Chrome.

Did this work before? N/A 

Chrome version: 51.0.2704.77  Channel: stable
OS Version: 6.0.1
Flash Version: Shockwave Flash 21.0 r0

I'd like to know Chrome download policy plan.
Policy will be "downloading via DownloadManager" or "downloading via Chrome".
 
Cc: asanka@chromium.org qin...@chromium.org
Components: UI>Browser>Downloads
Labels: Needs-Feedback
Status: Available (was: Unconfirmed)
Seems like there are two issues here:

1) Chrome crashing on 'Save Link'.

Are you experiencing a crash every time you hit Save Link on that site? Also, which of the links are you testing?

2) The change in where the file is downloaded through.

I believe the second is WAI based on how we decide when to delegate to the Android Download Manager, though adding people who might know more.

Comment 2 by qin...@chromium.org, Jun 10 2016

Status: WontFix (was: Available)
the crash was fixed in M52, you can try the beta to verify it.

There is no requirement that download has to go through Andorid DownloadManager. And Android Downloadmanager is going to be deprecated soon.
I have questions about "Android Downloadmanager is going to be deprecated soon"

1. Deprecation plan
When will Android Donloadmanager be deprecated? N OS? or next N OS?

2. Download policy
Will contents be downloaed via app itself if Android Donloadmanager is deprecated?
For example, 3rd party browser apps should download contents for themselves not using Downloadmanager?

Comment 4 by qin...@chromium.org, Jun 14 2016

Deprecation of Android DownloadManager doesn't rely on android version, but depending on the chrome version. Current plan is M52 or M53, depending on user feedback.

Only Chrome starts to stop using DownloadManager in most cases. Other apps can still use Android DownloadManager.

Comment 5 Deleted

Comment 6 Deleted

Feature request about downloading policy is :

1. Unsupported mime-type contents should be handled by DownloadManager regardless of Chrome's policy change.
2. DRM contents should be handled by DownloadManager regardless of Chrome's policy change.

Request reason is :
Only DownloadManager can encrypt and decrypt DRM contents properly.
Hence to support DRM contents, they should be handled by DownloadManager not Chrome.

Comment 8 by qin...@chromium.org, Jun 17 2016

What is the reason for 1?
DRM contents will still go through DownloadManager after the change.
My assumption is that Chrome will download DRM contents using Chrome if Chrome starts to stop using DownloadManager in most cases.
That's the reason why I requested to download DRM contents via DownlaodManager.

According to comment #8, DRM content is not the case of "most cases" and DRM contents will still go through DownloadManager after the change.

Hence I'd like to rule out the first request from my feature requests.

I have one more question about DRM contents.

Could you clarify "OMA Download Descriptor (OMA DD)" case?
Will "OMA Download Descriptor (OMA DD)" also go through DownloadManager after the change like DRM contents?

Thanks.
No, DD file will be downloaded using chrome network stack, after extacting the url from DD, the DRM file will be downloaded by DownloadManager.

Sign in to add a comment