Open
Bug 1213445
Opened 9 years ago
Updated 7 months ago
[tracking] Implement chrome.downloads
Categories
(WebExtensions :: General, enhancement, P5)
WebExtensions
General
Tracking
(Not tracked)
NEW
People
(Reporter: andy+bugzilla, Unassigned)
References
(Depends on 4 open bugs, Blocks 1 open bug)
Details
(Keywords: meta, Whiteboard: [downloads]triaged)
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•9 years ago
|
Blocks: webextensions-chrome-gaps
Reporter | ||
Updated•9 years ago
|
Whiteboard: [download] → [downloads]
Reporter | ||
Updated•9 years ago
|
Flags: blocking-webextensions-
Comment 1•9 years ago
|
||
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•9 years ago
|
Assignee: nobody → aswan
Summary: Implement chrome.downloads → [tracking] Implement chrome.downloads
Reporter | ||
Updated•9 years ago
|
Whiteboard: [downloads] → [downloads]triaged
Reporter | ||
Comment 2•9 years ago
|
||
Added [dev-doc-needed] so wbamberg can create the MDN pages from the json.
Keywords: dev-doc-needed
Comment 3•9 years ago
|
||
I've built and published these pages: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/downloads.
Updated•9 years ago
|
Assignee: aswan → nobody
Reporter | ||
Comment 4•8 years 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
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•8 years ago
|
||
Guys, any news about when downloads.drag will be implemented?
Updated•6 years ago
|
Product: Toolkit → WebExtensions
Updated•6 years ago
|
Type: defect → enhancement
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•