Permission popup for downloading multiple file appears only once
Reported by
al.govor...@gmail.com,
Sep 2 2016
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Steps to reproduce the problem: 1. Open example http://jsfiddle.net/rnh9v545/2/ 2. Click 'Download all' link 3. The first file can be downloaded and popup appears. Close the popup clicking on cross (do not allow or block) 4. Files are not downloaded. Try to download once again, click on 'Download all' 5. Nothing happens What is the expected behavior? The permission popup should appear once again on step 5 What went wrong? If user closes the popup by mistake, he cannot download files. The popup appears only after page reload. Did this work before? No Chrome version: 52.0.2743.116 Channel: stable OS Version: 10.0 Flash Version: Shockwave Flash 22.0 r0 Other browsers don't have such feature as multiple download. I checked on Canary (v55) and the behavior is the same.
,
Dec 8 2016
dominickn: ISTR that the behavior for dismissing the bubble is "cancel this download, but ask again for the next download" ?
,
Dec 8 2016
I can confirm the issue.
,
Dec 9 2016
The behaviour is analogous to permission prompts for geolocation/notifications/etc. Dismissing the prompt by clicking the X or pressing Esc behaves like denying the permission, except we don't persist the decision. I think it's worth keeping this behaviour for consistency. This prevents sites from being able to spam users with the automatic downloads prompt if they Esc out of the dialog. You could imagine a case where a site just triggers downloads again and again and again - pressing Esc would have the prompt come back again until you worked out not to press Esc. In general, we can't reliably detect user intent for downloads. Having to refresh the page in this instance is probably the least bad option.
,
Dec 15 2016
WontFixing this for now - but if there's more discussion to have please reopen. :) |
||||
►
Sign in to add a comment |
||||
Comment 1 by mmenke@chromium.org
, Sep 2 2016