New issue
Advanced search Search tips

Issue 626626 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

chrome.download extension API onChanged event data inconsistencies.

Project Member Reported by mharanc...@opera.com, Jul 8 2016

Issue description

Download extension API onChanged event delta contains some download item fields (which are constant for that item) such as mime, url, finalUrl, startTime which are sent only in very specific circumstances. This makes them unreliable and confusing to use.

The data will be present only in two specific cases:
1. There wasn't any onCreated/onChanged event listener registered when download item was created. This is because extension api data representation of this download item was not created in such case. Note that it is only necessary to have any extension listening to onChanged or onCreated event to populate extension api download item data, so any extension that registers to download events after download item creation in such case will not receive that extra download delta data.

2. Dangerous download is accepted by user. In such case there is no onCreated event fired when such download is created and all the download item data is populated and sent in onChanged event when user accepts the download.

This bug is reported as a result of discussion in https://codereview.chromium.org/1706193002/.
 
Components: UI>Browser>Downloads
Labels: OS-All
Status: Available (was: Untriaged)
Summary: chrome.download extension API onChanged event data inconsistencies. (was: Extension download api onChanged event data inconsistencies.)
Project Member

Comment 2 by sheriffbot@chromium.org, Jul 10 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: -asargent@chromium.org
Owner: qin...@chromium.org
Status: Assigned (was: Untriaged)
Min is updating the extension download caching logic.

Sign in to add a comment