[meta] Implement the |downloads| extension API
Categories
(GeckoView :: Extensions, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: agi, Unassigned)
References
(Depends on 13 open bugs, Blocks 2 open bugs)
Details
(Keywords: meta, Whiteboard: [geckoview:m78] [geckoview:m79] [geckoview:m80] [geckoview:m81][geckoview:m82][geckoview:m83][geckoview:m84] [geckoview:2023?])
The browser.downloads
API is broken right now in GeckoView because it tries to request some android permissions using the Fennec-only (I'm assuming) DownloadCore.jsm
.
In particular it uses shouldBlockForRuntimePermission
: https://searchfox.org/mozilla-central/rev/7c20ad925005fbad7b8e08813115f1ec7fa1c248/toolkit/components/downloads/DownloadCore.jsm#421
We should just delegate this to the app. This is important because I think it's the only way that we have to save files from a web extension.
Comment 1•6 years ago
|
||
We will need this functionality for extensions that create files like screenshots.
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 2•5 years ago
|
||
Mass moving bugs to the Extension component.
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 5•3 years ago
|
||
GeckoView has implemented some parts of the downloads API, but it isn't actually hooked up with Android-Components (and by extension not available in Fenix). This is a feature request for the functionality: https://github.com/mozilla-mobile/fenix/issues/16585
Comment 6•3 years ago
|
||
Tentatively set this bug's priority to P2 so we review it for GV's 2022 H2 planning.
Updated•2 years ago
|
Comment 7•2 years ago
|
||
This bug is still relevant.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•