New issue
Advanced search Search tips

Issue 671183 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Jun 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

chrome.downloads.onErased not firing correctly

Reported by wolfw...@gmail.com, Dec 5 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2939.0 Safari/537.36

Steps to reproduce the problem:
1. install sample extension
2. open its background page dev. tools window
3. delete some items from chrome://downloads

What is the expected behavior?
extension should console log ID of deleted item

What went wrong?
nothing happens

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 57.0.2939.0  Channel: canary
OS Version: 10.0
Flash Version: Shockwave Flash 24.0 r0

extension registered chrome.downloads.onErased
and it should log item ID on every erase, but nothing happens

Toolbar button on click will log all download items and alert how many of them there is

After you delete one or more items, clicking on button will show that extension is fed with old data, before delete action.

When chrome://downloads tab is closed (or parent window)
only then "erase event" is dispatched (you can see it at the end of the video)
 
DL API bug sample extension.rar
3.8 KB Download
ScreenCapture_5.12.2016. 14.39.56.wmv
9.2 MB Download

Comment 1 by ajha@chromium.org, Dec 5 2016

Labels: M-57

Comment 2 by wolfw...@gmail.com, Dec 5 2016

this was also tested on chrome 55.0.2883.75 m
with the same beahaviour
Components: UI>Browser>Downloads Platform>Extensions>API
Labels: -Pri-2 Pri-3
Status: Available (was: Unconfirmed)
Project Member

Comment 5 by sheriffbot@chromium.org, Dec 11 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
Owner: benjhayden@chromium.org
Status: Assigned (was: Untriaged)
To benjhayden@ for downloads triage.
Owner: ----
Status: Archived (was: Assigned)

Sign in to add a comment