The default bug view has changed. See this FAQ.

[tracking] Implement chrome.downloads

NEW
Unassigned

Status

()

Toolkit
WebExtensions: General
P5
normal
2 years ago
2 days ago

People

(Reporter: andym, Unassigned)

Tracking

(Depends on: 6 bugs, Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [downloads]triaged)

(Reporter)

Description

2 years ago
The methods on the API are:

https://developer.chrome.com/extensions/downloads

Currently implemented:

-

Won't be implemented because they are deprecated:

-

To be implemented:

Types

FilenameConflictAction
InterruptReason
DangerType
State
DownloadItem
StringDelta
DoubleDelta
BooleanDelta

Methods

download − chrome.downloads.download(object options, function callback)
search − chrome.downloads.search(object query, function callback)
pause − chrome.downloads.pause(integer downloadId, function callback)
resume − chrome.downloads.resume(integer downloadId, function callback)
cancel − chrome.downloads.cancel(integer downloadId, function callback)
getFileIcon − chrome.downloads.getFileIcon(integer downloadId, object options, function callback)
open − chrome.downloads.open(integer downloadId)
show − chrome.downloads.show(integer downloadId)
showDefaultFolder − chrome.downloads.showDefaultFolder()
erase − chrome.downloads.erase(object query, function callback)
removeFile − chrome.downloads.removeFile(integer downloadId, function callback)
acceptDanger − chrome.downloads.acceptDanger(integer downloadId, function callback)
drag − chrome.downloads.drag(integer downloadId)
setShelfEnabled − chrome.downloads.setShelfEnabled(boolean enabled)

Events

onCreated
onErased
onChanged
onDeterminingFilename
(Reporter)

Updated

2 years ago
Blocks: 1161828
(Reporter)

Updated

2 years ago
Whiteboard: [download] → [downloads]
(Reporter)

Updated

a year ago
Flags: blocking-webextensions-
Hi,

I started implementing this as a pet project, see [1].

[1] https://github.com/mozilla/gecko-dev/compare/master...julienw:downloads-extensions

I barely have the start -- but it seems to work so far ;)
(Reporter)

Updated

a year ago
Assignee: nobody → aswan
Summary: Implement chrome.downloads → [tracking] Implement chrome.downloads

Updated

a year ago
Depends on: 1245597

Updated

a year ago
Depends on: 1245599

Updated

a year ago
Depends on: 1245600

Updated

a year ago
Depends on: 1245602

Updated

a year ago
Depends on: 1245603

Updated

a year ago
Depends on: 1245606

Updated

a year ago
Depends on: 1245636

Updated

a year ago
Depends on: 1245639

Updated

a year ago
Depends on: 1245640

Updated

a year ago
Depends on: 1245641

Updated

a year ago
Depends on: 1245644

Updated

a year ago
Depends on: 1245645

Updated

a year ago
Depends on: 1245651

Updated

a year ago
Depends on: 1245648

Updated

a year ago
Depends on: 1245652

Updated

a year ago
Depends on: 1245678
(Reporter)

Updated

a year ago
Whiteboard: [downloads] → [downloads]triaged

Updated

a year ago
Depends on: 1247791

Updated

a year ago
Depends on: 1247793

Updated

a year ago
Depends on: 1247794

Updated

a year ago
Depends on: 1251766
(Reporter)

Comment 2

a year ago
Added [dev-doc-needed] so wbamberg can create the MDN pages from the json.
Keywords: dev-doc-needed
Depends on: 1256691
I've built and published these pages: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/downloads.

Updated

10 months ago
Assignee: aswan → nobody
(Reporter)

Comment 4

6 months ago
The key APIs have been done, dropping priority for the remaining issues.
Component: WebExtensions: Untriaged → WebExtensions: General
Flags: blocking-webextensions-
Keywords: dev-doc-needed
Priority: -- → P5

Comment 5

a month ago
Does the implementation period for onDeterminingFilename?
(Reporter)

Updated

28 days ago
Depends on: 1342563

Comment 6

28 days ago
To avoid confusion - my question was associated with the capture of links to FTP the file and download it myself.
Bugs : 
https://bugzilla.mozilla.org/show_bug.cgi?id=1340547
https://bugzilla.mozilla.org/show_bug.cgi?id=1245652

Comment 7

2 days ago
Guys, any news about when downloads.drag will be implemented?
You need to log in before you can comment on or make changes to this bug.