Closed Bug 1306879 Opened 8 years ago Closed 8 years ago

webextensions chrome.downloads.erase() only has access to session downloads, doesn't clear about:downloads

Categories

(WebExtensions :: General, defect)

52 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1255507

People

(Reporter: bugzilla, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0 Build ID: 20160922113459 Steps to reproduce: I'm currently working on a webextension-addon that removes downloads from the download-history. For that, I tried using chrome.downloads.erase() (https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/downloads/erase), which "[...] erases matching DownloadItems from the browser's download history, without deleting the downloaded files from disk." Actual results: The download entry that shows up when clicking the download-arrow got removed. However, about:downloads still shows all downloads. This can be reproduced with the 'latest-download-example (https://github.com/mdn/webextensions-examples/tree/master/latest-download). Also, downloads from earlier sessions can't be accessed by chrome.downloads.erase() or chrome.downloads.search(). Expected results: The entry in about:downloads should have been removed as well. chrome.downloads.* should be able to access downloads from earlier sessions as well.
Depends on: 1255507
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Assignee: nobody → rjesup
Comment on attachment 8908778 [details] don't dynamically switch to/from fast-path gUM audio wrong bug, sorry
Attachment #8908778 - Attachment is patch: false
Attachment #8908778 - Flags: review?(jib)
Assignee: rjesup → nobody
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: